#917C2B#917C2B

#917C2B is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 59.0% C 0.102 H 94.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#917C2B
RGBrgb(145, 124, 43)
HSLhsl(48, 54%, 37%)
HSVhsv(48, 70%, 57%)
CMYKcmyk(0%, 14.5%, 70.3%, 43.1%)
CIE-LABlab(52.52, -1.35, 45.37)
CIE-LCHlch(52.52, 45.39, 91.71°)
OKLaboklab(59.03% -0.0078 0.1018)
OKLCHoklch(59.03% 0.102 94.4)
XYZxyz(19.3217, 20.6105, 5.2455)
Luminance0.2061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917C2B #2B4091
analogous
#91492B #917C2B #73912B
triadic
#917C2B #2B917C #7C2B91
tetradic
#917C2B #2B9149 #2B4091 #912B73
square
#917C2B #2B9149 #2B4091 #912B73
split-complementary
#917C2B #2B7391 #492B91
monochromatic
#332B0F #62541D #917C2B #C0A439 #D1BB65

Accessibility & contrast

On white

4.10
#917C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#917C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917C2B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917C2B#FFFFFF#000000##000000
##917C2B1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A20
Deuteranopia (green-blind)
#8E802F
Tritanopia (blue-blind)
#9D726B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #917c2b;
/* rgb */ color: rgb(145, 124, 43);
/* oklch */ color: oklch(59.0% 0.102 94.4);
Tailwind
colors: {
  custom: {
    50: '#b4a169',
    500: '#917c2b',
    950: '#000000',
  },
}
SCSS
$custom: #917c2b;
$custom-light: #b4a169;
$custom-dark: #000000;
JSON
{
  "hex": "#917c2b",
  "rgb": {
    "r": 145,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 47.647,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59028,
    "c": 0.10212,
    "h": 94.4
  },
  "luminance": 0.20609
}

Semantic roles & 50–950 ramp

primary
#917C2B
secondary
#6072B8
accent
#69DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #917C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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