#917D2F#917D2F

#917D2F is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.3% C 0.100 H 94.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#917D2F
RGBrgb(145, 125, 47)
HSLhsl(48, 51%, 38%)
HSVhsv(48, 68%, 57%)
CMYKcmyk(0%, 13.8%, 67.6%, 43.1%)
CIE-LABlab(52.83, -1.67, 43.89)
CIE-LCHlch(52.83, 43.92, 92.18°)
OKLaboklab(59.29% -0.0082 0.0994)
OKLCHoklch(59.29% 0.1 94.7)
XYZxyz(19.5247, 20.8932, 5.6931)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917D2F #2F4391
analogous
#914C2F #917D2F #74912F
triadic
#917D2F #2F917D #7D2F91
tetradic
#917D2F #2F914C #2F4391 #912F74
square
#917D2F #2F914C #2F4391 #912F74
split-complementary
#917D2F #2F7491 #4C2F91
monochromatic
#352D11 #635520 #917D2F #BFA53E #CFBB6B

Accessibility & contrast

On white

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

On black

5.18
#917D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917D2F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917D2F#FFFFFF#000000##000000
##917D2F1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B25
Deuteranopia (green-blind)
#8F8133
Tritanopia (blue-blind)
#9C736D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #917d2f;
/* rgb */ color: rgb(145, 125, 47);
/* oklch */ color: oklch(59.3% 0.100 94.7);
Tailwind
colors: {
  custom: {
    50: '#b4a26c',
    500: '#917d2f',
    950: '#000000',
  },
}
SCSS
$custom: #917d2f;
$custom-light: #b4a26c;
$custom-dark: #000000;
JSON
{
  "hex": "#917d2f",
  "rgb": {
    "r": 145,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 47.755,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59286,
    "c": 0.09974,
    "h": 94.7
  },
  "luminance": 0.20892
}

Semantic roles & 50–950 ramp

primary
#917D2F
secondary
#6576B6
accent
#6ADB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #917D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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