#917C22#917C22

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

Color values

HEX#917C22
RGBrgb(145, 124, 34)
HSLhsl(49, 62%, 35%)
HSVhsv(49, 77%, 57%)
CMYKcmyk(0%, 14.5%, 76.6%, 43.1%)
CIE-LABlab(52.46, -1.82, 49.03)
CIE-LCHlch(52.46, 49.07, 92.13°)
OKLaboklab(58.96% -0.0102 0.1078)
OKLCHoklch(58.96% 0.108 95.4)
XYZxyz(19.1745, 20.5516, 4.4700)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917C22 #223791
analogous
#914522 #917C22 #6E9122
triadic
#917C22 #22917C #7C2291
tetradic
#917C22 #229145 #223791 #91226E
square
#917C22 #229145 #223791 #91226E
split-complementary
#917C22 #226E91 #452291
monochromatic
#2E270B #5F5216 #917C22 #C3A62E #D7BF56

Accessibility & contrast

On white

4.11
#917C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#917C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917C22
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917C22#FFFFFF#000000##000000
##917C221.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#8F8028
Tritanopia (blue-blind)
#9D726A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #917c22;
/* rgb */ color: rgb(145, 124, 34);
/* oklch */ color: oklch(59.0% 0.108 95.4);
Tailwind
colors: {
  custom: {
    50: '#b5a164',
    500: '#917c22',
    950: '#000000',
  },
}
SCSS
$custom: #917c22;
$custom-light: #b5a164;
$custom-dark: #000000;
JSON
{
  "hex": "#917c22",
  "rgb": {
    "r": 145,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 48.649,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58956,
    "c": 0.10831,
    "h": 95.4
  },
  "luminance": 0.20551
}

Semantic roles & 50–950 ramp

primary
#917C22
secondary
#5367BB
accent
#61E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #917C22

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

Preview Lab → · Contrast checker → · Palette generator →

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