#917E2C#917E2C

#917E2C is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.5% C 0.103 H 96.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#917E2C
RGBrgb(145, 126, 44)
HSLhsl(49, 53%, 37%)
HSVhsv(49, 70%, 57%)
CMYKcmyk(0%, 13.1%, 69.7%, 43.1%)
CIE-LABlab(53.09, -2.41, 45.51)
CIE-LCHlch(53.09, 45.57, 93.04°)
OKLaboklab(59.48% -0.0107 0.1023)
OKLCHoklch(59.48% 0.103 96)
XYZxyz(19.5935, 21.1243, 5.4277)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917E2C #2C3F91
analogous
#914C2C #917E2C #72912C
triadic
#917E2C #2C917E #7E2C91
tetradic
#917E2C #2C914C #2C3F91 #912C72
square
#917E2C #2C914C #2C3F91 #912C72
split-complementary
#917E2C #2C7291 #4C2C91
monochromatic
#332C10 #62551E #917E2C #C0A73A #D1BD67

Accessibility & contrast

On white

4.02
#917E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#917E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917E2C
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917E2C#FFFFFF#000000##000000
##917E2C1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B21
Deuteranopia (green-blind)
#908130
Tritanopia (blue-blind)
#9D746D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #917e2c;
/* rgb */ color: rgb(145, 126, 44);
/* oklch */ color: oklch(59.5% 0.103 96.0);
Tailwind
colors: {
  custom: {
    50: '#b4a36a',
    500: '#917e2c',
    950: '#000000',
  },
}
SCSS
$custom: #917e2c;
$custom-light: #b4a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#917e2c",
  "rgb": {
    "r": 145,
    "g": 126,
    "b": 44
  },
  "hsl": {
    "h": 48.713,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.59478,
    "c": 0.10286,
    "h": 96
  },
  "luminance": 0.21123
}

Semantic roles & 50–950 ramp

primary
#917E2C
secondary
#6272B7
accent
#66DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F07
muted
#807E7A

Preview Lab

Preview with #917E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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