Skip to content

CSS named color

SaddleBrown #8B4513

SaddleBrown (CSS keyword saddlebrown) has the hex code #8B4513 and the RGB value rgb(139, 69, 19): a medium-dark, moderately saturated brown.

SaddleBrown#8B4513

Named after the leather of horse saddles: a deep, reddish brown (#8b4513). It is one of the few named browns that looks like what most people call brown.

Color codes for SaddleBrown

Color codes for SaddleBrown
CSS keywordsaddlebrown
HEX#8B4513
RGBrgb(139, 69, 19)
HSLhsl(25, 76%, 31%)
HWBhwb(25 7% 45%)
OKLCHoklch(47.1% 0.112 50.8)
CMYK (naive, no ICC profile)cmyk(0%, 50%, 86%, 45%)
Decimal9,127,187
Hue familyBrowns and tans

Contrast and accessibility

On saddlebrown, white text has a contrast ratio of 7.09:1 and passes AAA at any text size; black text reaches 2.95:1.

WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on saddlebrown2.95:1FailFailFailFail19.9
White text on saddlebrown7.09:1PassPassPassPass−89.1
Saddlebrown text on white7.09:1PassPassPassPass84.1
Saddlebrown text on black2.95:1FailFailFailFail−17.8

Tints and shades

Each step mixes saddlebrown with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, saddlebrown, white 25%) in CSS.

Tints (mixed with white)

  1. 5%
    #914e1f
  2. 15%
    #9c6136
  3. 25%
    #a8744e
  4. 35%
    #b48666
  5. 45%
    #bf997d
  6. 55%
    #cbab95
  7. 65%
    #d6beac
  8. 75%
    #e2d1c4
  9. 85%
    #eee3dc
  10. 95%
    #f9f6f3

Shades (mixed with black)

  1. 5%
    #844212
  2. 15%
    #763b10
  3. 25%
    #68340e
  4. 35%
    #5a2d0c
  5. 45%
    #4c260a
  6. 55%
    #3f1f09
  7. 65%
    #311807
  8. 75%
    #231105
  9. 85%
    #150a03
  10. 95%
    #070301

Color harmonies

Rotating the hue in OKLCH while keeping lightness and chroma, saddlebrown's complementary color is #00658E (close to teal), its analogous colors are #8F3D3F and #7B5200, and its triadic partners are #006E52 and #5C4E95. For text on top, white gives the higher contrast.

Color harmonies
HarmonyRotationColor
Complementary+180°#00658e
Analogous−30°, +30°#8f3d3f#7b5200
Triadic+120°, +240°#006e52#5c4e95
Split-complementary+150°, +210°#006b72#355999

Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.

Warm or cool?

SaddleBrown is a warm color: its hue is 25° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.

Nearest named and Tailwind colors

Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.

Nearest CSS named colors

Nearest CSS named colors
ColorHEXΔE OK
sienna#a0522d5.7
brown#a52a2a7.6
firebrick#b222229.3

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
yellow-800#894b002.2
amber-800#973c002.7
yellow-900#733e0a5.4

Code snippets

CSS
.element {
  color: saddlebrown;
  background-color: #8b4513;
  border-color: rgb(139 69 19);
  outline-color: oklch(47.1% 0.112 50.8);
}
Tailwind CSS
<div class="bg-[#8b4513] text-white">...</div>

/* or register it once in your CSS (Tailwind v4) */
@theme {
  --color-saddlebrown: #8b4513;
}
/* then use bg-saddlebrown, text-saddlebrown, border-saddlebrown */
SwiftUI
import SwiftUI

extension Color {
  static let saddlebrown = Color(red: 0.545, green: 0.271, blue: 0.075)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Saddlebrown = Color(0xFF8B4513)
Flutter
import 'package:flutter/material.dart';

const saddlebrown = Color(0xFF8B4513);
Android XML
<!-- res/values/colors.xml -->
<color name="saddlebrown">#8B4513</color>

Frequently asked questions

What is the hex code for saddlebrown?
The hex code for saddlebrown is #8B4513. The same color is rgb(139, 69, 19), hsl(25, 76%, 31%) and oklch(47.1% 0.112 50.8), and in CSS you can also write the keyword saddlebrown directly.
Is saddlebrown a warm or cool color?
SaddleBrown is a warm color: its hue is 25° on the HSL wheel, in the red, orange and yellow range (0° to about 70°, plus reds above 330°) that is conventionally called warm.
What colors go with saddlebrown?
Rotating the hue in OKLCH while keeping lightness and chroma, saddlebrown's complementary color is #00658E (close to teal), its analogous colors are #8F3D3F and #7B5200, and its triadic partners are #006E52 and #5C4E95. For text on top, white gives the higher contrast.
Can you use white text on saddlebrown?
White text on saddlebrown has a contrast ratio of 7.09:1, which passes both AA and AAA under WCAG 2.2. Black text reaches 2.95:1 and fails AA even for large text. In APCA terms that is Lc −89.1 for white and Lc 19.9 for black.
What is the RGB value of saddlebrown?
SaddleBrown is rgb(139, 69, 19): red 139, green 69 and blue 19 on the 0 to 255 scale, or 54.5%, 27.1% and 7.5%. As a decimal integer it is 9127187.

Last reviewed by Arielton Oberek.