#917C2A#917C2A

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

Color values

HEX#917C2A
RGBrgb(145, 124, 42)
HSLhsl(48, 55%, 37%)
HSVhsv(48, 71%, 57%)
CMYKcmyk(0%, 14.5%, 71%, 43.1%)
CIE-LABlab(52.51, -1.41, 45.80)
CIE-LCHlch(52.51, 45.82, 91.76°)
OKLaboklab(59.02% -0.0081 0.1026)
OKLCHoklch(59.02% 0.103 94.5)
XYZxyz(19.3036, 20.6033, 5.1501)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917C2A #2A3F91
analogous
#91492A #917C2A #73912A
triadic
#917C2A #2A917C #7C2A91
tetradic
#917C2A #2A9149 #2A3F91 #912A73
square
#917C2A #2A9149 #2A3F91 #912A73
split-complementary
#917C2A #2A7391 #492A91
monochromatic
#322B0F #62531C #917C2A #C0A538 #D2BB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##917C2A#FFFFFF#000000##000000
##917C2A1.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)
#897A1F
Deuteranopia (green-blind)
#8E802E
Tritanopia (blue-blind)
#9D726B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #917c2a;
/* rgb */ color: rgb(145, 124, 42);
/* oklch */ color: oklch(59.0% 0.103 94.5);
Tailwind
colors: {
  custom: {
    50: '#b4a168',
    500: '#917c2a',
    950: '#000000',
  },
}
SCSS
$custom: #917c2a;
$custom-light: #b4a168;
$custom-dark: #000000;
JSON
{
  "hex": "#917c2a",
  "rgb": {
    "r": 145,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 47.767,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59019,
    "c": 0.10287,
    "h": 94.5
  },
  "luminance": 0.20602
}

Semantic roles & 50–950 ramp

primary
#917C2A
secondary
#5F71B8
accent
#68DE49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #917C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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