#917A2B#917A2B

#917A2B is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.6% C 0.101 H 92.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#917A2B
RGBrgb(145, 122, 43)
HSLhsl(46, 54%, 37%)
HSVhsv(46, 70%, 57%)
CMYKcmyk(0%, 15.9%, 70.3%, 43.1%)
CIE-LABlab(51.97, -0.23, 44.79)
CIE-LCHlch(51.97, 44.79, 90.29°)
OKLaboklab(58.59% -0.0045 0.1006)
OKLCHoklch(58.59% 0.101 92.6)
XYZxyz(19.0736, 20.1143, 5.1628)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917A2B #2B4291
analogous
#91472B #917A2B #75912B
triadic
#917A2B #2B917A #7A2B91
tetradic
#917A2B #2B9147 #2B4291 #912B75
square
#917A2B #2B9147 #2B4291 #912B75
split-complementary
#917A2B #2B7591 #472B91
monochromatic
#332B0F #62521D #917A2B #C0A239 #D1B965

Accessibility & contrast

On white

4.18
#917A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#917A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917A2B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917A2B#FFFFFF#000000##000000
##917A2B1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877821
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#9D706A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #917a2b;
/* rgb */ color: rgb(145, 122, 43);
/* oklch */ color: oklch(58.6% 0.101 92.6);
Tailwind
colors: {
  custom: {
    50: '#b4a069',
    500: '#917a2b',
    950: '#000000',
  },
}
SCSS
$custom: #917a2b;
$custom-light: #b4a069;
$custom-dark: #000000;
JSON
{
  "hex": "#917a2b",
  "rgb": {
    "r": 145,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 46.471,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5859,
    "c": 0.10071,
    "h": 92.6
  },
  "luminance": 0.20113
}

Semantic roles & 50–950 ramp

primary
#917A2B
secondary
#6074B8
accent
#6BDE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #917A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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