#917D22#917D22

#917D22 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.2% C 0.109 H 96.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#917D22
RGBrgb(145, 125, 34)
HSLhsl(49, 62%, 35%)
HSVhsv(49, 77%, 57%)
CMYKcmyk(0%, 13.8%, 76.6%, 43.1%)
CIE-LABlab(52.73, -2.38, 49.30)
CIE-LCHlch(52.73, 49.35, 92.76°)
OKLaboklab(59.18% -0.0118 0.1084)
OKLCHoklch(59.18% 0.109 96.2)
XYZxyz(19.3004, 20.8035, 4.5119)
Luminance0.2080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917D22 #223691
analogous
#914522 #917D22 #6E9122
triadic
#917D22 #22917D #7D2291
tetradic
#917D22 #229145 #223691 #91226E
square
#917D22 #229145 #223691 #91226E
split-complementary
#917D22 #226E91 #452291
monochromatic
#2E280B #5F5216 #917D22 #C3A82E #D7C056

Accessibility & contrast

On white

4.07
#917D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#917D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917D22
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917D22#FFFFFF#000000##000000
##917D221.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#9D736B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #917d22;
/* rgb */ color: rgb(145, 125, 34);
/* oklch */ color: oklch(59.2% 0.109 96.2);
Tailwind
colors: {
  custom: {
    50: '#b5a264',
    500: '#917d22',
    950: '#000000',
  },
}
SCSS
$custom: #917d22;
$custom-light: #b5a264;
$custom-dark: #000000;
JSON
{
  "hex": "#917d22",
  "rgb": {
    "r": 145,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 49.189,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59176,
    "c": 0.10903,
    "h": 96.2
  },
  "luminance": 0.20802
}

Semantic roles & 50–950 ramp

primary
#917D22
secondary
#5366BB
accent
#60E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F06
muted
#817E7A

Preview Lab

Preview with #917D22

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

Preview Lab → · Contrast checker → · Palette generator →

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