#917A22#917A22

#917A22 is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.5% C 0.107 H 93.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#917A22
RGBrgb(145, 122, 34)
HSLhsl(48, 62%, 35%)
HSVhsv(48, 77%, 57%)
CMYKcmyk(0%, 15.9%, 76.6%, 43.1%)
CIE-LABlab(51.90, -0.70, 48.50)
CIE-LCHlch(51.90, 48.51, 90.82°)
OKLaboklab(58.52% -0.007 0.1067)
OKLCHoklch(58.52% 0.107 93.7)
XYZxyz(18.9264, 20.0554, 4.3873)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917A22 #223991
analogous
#914322 #917A22 #709122
triadic
#917A22 #22917A #7A2291
tetradic
#917A22 #229143 #223991 #912270
square
#917A22 #229143 #223991 #912270
split-complementary
#917A22 #227091 #432291
monochromatic
#2E270B #5F5016 #917A22 #C3A42E #D7BD56

Accessibility & contrast

On white

4.19
#917A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#917A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917A22
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917A22#FFFFFF#000000##000000
##917A221.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887813
Deuteranopia (green-blind)
#8D7F27
Tritanopia (blue-blind)
#9D7069
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #917a22;
/* rgb */ color: rgb(145, 122, 34);
/* oklch */ color: oklch(58.5% 0.107 93.7);
Tailwind
colors: {
  custom: {
    50: '#b5a064',
    500: '#917a22',
    950: '#000000',
  },
}
SCSS
$custom: #917a22;
$custom-light: #b5a064;
$custom-dark: #000000;
JSON
{
  "hex": "#917a22",
  "rgb": {
    "r": 145,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 47.568,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58517,
    "c": 0.10693,
    "h": 93.7
  },
  "luminance": 0.20054
}

Semantic roles & 50–950 ramp

primary
#917A22
secondary
#5369BB
accent
#64E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #917A22

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

Preview Lab → · Contrast checker → · Palette generator →

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