#917D2B#917D2B

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

Color values

HEX#917D2B
RGBrgb(145, 125, 43)
HSLhsl(48, 54%, 37%)
HSVhsv(48, 70%, 57%)
CMYKcmyk(0%, 13.8%, 70.3%, 43.1%)
CIE-LABlab(52.80, -1.91, 45.65)
CIE-LCHlch(52.80, 45.69, 92.40°)
OKLaboklab(59.25% -0.0094 0.1024)
OKLCHoklch(59.25% 0.103 95.2)
XYZxyz(19.4477, 20.8624, 5.2875)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917D2B #2B3F91
analogous
#914A2B #917D2B #72912B
triadic
#917D2B #2B917D #7D2B91
tetradic
#917D2B #2B914A #2B3F91 #912B72
square
#917D2B #2B914A #2B3F91 #912B72
split-complementary
#917D2B #2B7291 #4A2B91
monochromatic
#332C0F #62541D #917D2B #C0A639 #D1BC65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##917D2B#FFFFFF#000000##000000
##917D2B1.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)
#8A7A20
Deuteranopia (green-blind)
#8F812F
Tritanopia (blue-blind)
#9D736C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #917d2b;
/* rgb */ color: rgb(145, 125, 43);
/* oklch */ color: oklch(59.2% 0.103 95.2);
Tailwind
colors: {
  custom: {
    50: '#b4a269',
    500: '#917d2b',
    950: '#000000',
  },
}
SCSS
$custom: #917d2b;
$custom-light: #b4a269;
$custom-dark: #000000;
JSON
{
  "hex": "#917d2b",
  "rgb": {
    "r": 145,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 48.235,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59248,
    "c": 0.10286,
    "h": 95.2
  },
  "luminance": 0.20861
}

Semantic roles & 50–950 ramp

primary
#917D2B
secondary
#6071B8
accent
#67DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A

Preview Lab

Preview with #917D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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