#917E2B#917E2B

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

Color values

HEX#917E2B
RGBrgb(145, 126, 43)
HSLhsl(49, 54%, 37%)
HSVhsv(49, 70%, 57%)
CMYKcmyk(0%, 13.1%, 70.3%, 43.1%)
CIE-LABlab(53.08, -2.47, 45.94)
CIE-LCHlch(53.08, 46.00, 93.08°)
OKLaboklab(59.47% -0.011 0.103)
OKLCHoklch(59.47% 0.104 96.1)
XYZxyz(19.5749, 21.1169, 5.3299)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917E2B #2B3E91
analogous
#914B2B #917E2B #71912B
triadic
#917E2B #2B917E #7E2B91
tetradic
#917E2B #2B914B #2B3E91 #912B71
square
#917E2B #2B914B #2B3E91 #912B71
split-complementary
#917E2B #2B7191 #4B2B91
monochromatic
#332C0F #62551D #917E2B #C0A739 #D1BD65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##917E2B#FFFFFF#000000##000000
##917E2B1.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)
#8B7B20
Deuteranopia (green-blind)
#908130
Tritanopia (blue-blind)
#9D746D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #917e2b;
/* rgb */ color: rgb(145, 126, 43);
/* oklch */ color: oklch(59.5% 0.104 96.1);
Tailwind
colors: {
  custom: {
    50: '#b4a369',
    500: '#917e2b',
    950: '#000000',
  },
}
SCSS
$custom: #917e2b;
$custom-light: #b4a369;
$custom-dark: #000000;
JSON
{
  "hex": "#917e2b",
  "rgb": {
    "r": 145,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 48.824,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.59469,
    "c": 0.10361,
    "h": 96.1
  },
  "luminance": 0.21116
}

Semantic roles & 50–950 ramp

primary
#917E2B
secondary
#6070B8
accent
#66DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F07
muted
#817E7A

Preview Lab

Preview with #917E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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