#917D2A#917D2A

#917D2A is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.104 H 95.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#917D2A
RGBrgb(145, 125, 42)
HSLhsl(48, 55%, 37%)
HSVhsv(48, 71%, 57%)
CMYKcmyk(0%, 13.8%, 71%, 43.1%)
CIE-LABlab(52.79, -1.97, 46.08)
CIE-LCHlch(52.79, 46.12, 92.45°)
OKLaboklab(59.24% -0.0097 0.1032)
OKLCHoklch(59.24% 0.104 95.4)
XYZxyz(19.4296, 20.8552, 5.1921)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917D2A #2A3E91
analogous
#914A2A #917D2A #72912A
triadic
#917D2A #2A917D #7D2A91
tetradic
#917D2A #2A914A #2A3E91 #912A72
square
#917D2A #2A914A #2A3E91 #912A72
split-complementary
#917D2A #2A7291 #4A2A91
monochromatic
#322B0F #62541C #917D2A #C0A638 #D2BC63

Accessibility & contrast

On white

4.06
#917D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#917D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917D2A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917D2A#FFFFFF#000000##000000
##917D2A1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1F
Deuteranopia (green-blind)
#8F812F
Tritanopia (blue-blind)
#9D736C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #917d2a;
/* rgb */ color: rgb(145, 125, 42);
/* oklch */ color: oklch(59.2% 0.104 95.4);
Tailwind
colors: {
  custom: {
    50: '#b4a269',
    500: '#917d2a',
    950: '#000000',
  },
}
SCSS
$custom: #917d2a;
$custom-light: #b4a269;
$custom-dark: #000000;
JSON
{
  "hex": "#917d2a",
  "rgb": {
    "r": 145,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 48.35,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59239,
    "c": 0.1036,
    "h": 95.4
  },
  "luminance": 0.20854
}

Semantic roles & 50–950 ramp

primary
#917D2A
secondary
#5F70B8
accent
#66DE49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #917D2A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#917D2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva