#917E2F#917E2F

#917E2F is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.5% C 0.101 H 95.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#917E2F
RGBrgb(145, 126, 47)
HSLhsl(48, 51%, 38%)
HSVhsv(48, 68%, 57%)
CMYKcmyk(0%, 13.1%, 67.6%, 43.1%)
CIE-LABlab(53.11, -2.23, 44.18)
CIE-LCHlch(53.11, 44.24, 92.89°)
OKLaboklab(59.51% -0.0098 0.1)
OKLCHoklch(59.51% 0.101 95.6)
XYZxyz(19.6519, 21.1477, 5.7356)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917E2F #2F4291
analogous
#914D2F #917E2F #73912F
triadic
#917E2F #2F917E #7E2F91
tetradic
#917E2F #2F914D #2F4291 #912F73
square
#917E2F #2F914D #2F4291 #912F73
split-complementary
#917E2F #2F7391 #4D2F91
monochromatic
#352E11 #635620 #917E2F #BFA63E #CFBC6B

Accessibility & contrast

On white

4.02
#917E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#917E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917E2F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917E2F#FFFFFF#000000##000000
##917E2F1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B25
Deuteranopia (green-blind)
#908133
Tritanopia (blue-blind)
#9C746D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #917e2f;
/* rgb */ color: rgb(145, 126, 47);
/* oklch */ color: oklch(59.5% 0.101 95.6);
Tailwind
colors: {
  custom: {
    50: '#b4a36c',
    500: '#917e2f',
    950: '#000000',
  },
}
SCSS
$custom: #917e2f;
$custom-light: #b4a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#917e2f",
  "rgb": {
    "r": 145,
    "g": 126,
    "b": 47
  },
  "hsl": {
    "h": 48.367,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59506,
    "c": 0.1005,
    "h": 95.6
  },
  "luminance": 0.21147
}

Semantic roles & 50–950 ramp

primary
#917E2F
secondary
#6575B6
accent
#69DB4D
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #917E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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