#917E22#917E22

#917E22 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.4% C 0.110 H 97.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#917E22
RGBrgb(145, 126, 34)
HSLhsl(50, 62%, 35%)
HSVhsv(50, 77%, 57%)
CMYKcmyk(0%, 13.1%, 76.6%, 43.1%)
CIE-LABlab(53.01, -2.94, 49.56)
CIE-LCHlch(53.01, 49.65, 93.39°)
OKLaboklab(59.4% -0.0133 0.109)
OKLCHoklch(59.4% 0.11 97)
XYZxyz(19.4276, 21.0580, 4.5544)
Luminance0.2106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917E22 #223591
analogous
#914722 #917E22 #6C9122
triadic
#917E22 #22917E #7E2291
tetradic
#917E22 #229147 #223591 #91226C
square
#917E22 #229147 #223591 #91226C
split-complementary
#917E22 #226C91 #472291
monochromatic
#2E280B #5F5316 #917E22 #C3A92E #D7C156

Accessibility & contrast

On white

4.03
#917E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#917E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917E22
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917E22#FFFFFF#000000##000000
##917E221.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B11
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#9D746C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #917e22;
/* rgb */ color: rgb(145, 126, 34);
/* oklch */ color: oklch(59.4% 0.110 97.0);
Tailwind
colors: {
  custom: {
    50: '#b5a364',
    500: '#917e22',
    950: '#000000',
  },
}
SCSS
$custom: #917e22;
$custom-light: #b5a364;
$custom-dark: #000000;
JSON
{
  "hex": "#917e22",
  "rgb": {
    "r": 145,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 49.73,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59397,
    "c": 0.10976,
    "h": 97
  },
  "luminance": 0.21057
}

Semantic roles & 50–950 ramp

primary
#917E22
secondary
#5365BB
accent
#5FE543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #917E22

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

Preview Lab → · Contrast checker → · Palette generator →

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