#917E1D#917E1D

#917E1D is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.4% C 0.113 H 97.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#917E1D
RGBrgb(145, 126, 29)
HSLhsl(50, 67%, 34%)
HSVhsv(50, 80%, 57%)
CMYKcmyk(0%, 13.1%, 80%, 43.1%)
CIE-LABlab(52.98, -3.15, 51.35)
CIE-LCHlch(52.98, 51.45, 93.51°)
OKLaboklab(59.37% -0.0145 0.1117)
OKLCHoklch(59.37% 0.113 97.4)
XYZxyz(19.3607, 21.0312, 4.2018)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917E1D #1D3091
analogous
#91441D #917E1D #6A911D
triadic
#917E1D #1D917E #7E1D91
tetradic
#917E1D #1D9144 #1D3091 #911D6A
square
#917E1D #1D9144 #1D3091 #911D6A
split-complementary
#917E1D #1D6A91 #441D91
monochromatic
#2B2509 #5E5213 #917E1D #C4AA27 #DBC44D

Accessibility & contrast

On white

4.03
#917E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#917E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917E1D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917E1D#FFFFFF#000000##000000
##917E1D1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B06
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#9D746C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #917e1d;
/* rgb */ color: rgb(145, 126, 29);
/* oklch */ color: oklch(59.4% 0.113 97.4);
Tailwind
colors: {
  custom: {
    50: '#b5a362',
    500: '#917e1d',
    950: '#000000',
  },
}
SCSS
$custom: #917e1d;
$custom-light: #b5a362;
$custom-dark: #000000;
JSON
{
  "hex": "#917e1d",
  "rgb": {
    "r": 145,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 50.172,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59365,
    "c": 0.11266,
    "h": 97.4
  },
  "luminance": 0.2103
}

Semantic roles & 50–950 ramp

primary
#917E1D
secondary
#4C5FBE
accent
#5AEA3E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120F05
muted
#817E7A

Preview Lab

Preview with #917E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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