#917F1D#917F1D

#917F1D is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.6% C 0.113 H 98.1°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#917F1D
RGBrgb(145, 127, 29)
HSLhsl(51, 67%, 34%)
HSVhsv(51, 80%, 57%)
CMYKcmyk(0%, 12.4%, 80%, 43.1%)
CIE-LABlab(53.26, -3.71, 51.61)
CIE-LCHlch(53.26, 51.74, 94.11°)
OKLaboklab(59.59% -0.016 0.1123)
OKLCHoklch(59.59% 0.113 98.1)
XYZxyz(19.4892, 21.2882, 4.2446)
Luminance0.2129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917F1D #1D2F91
analogous
#91451D #917F1D #69911D
triadic
#917F1D #1D917F #7F1D91
tetradic
#917F1D #1D9145 #1D2F91 #911D69
square
#917F1D #1D9145 #1D2F91 #911D69
split-complementary
#917F1D #1D6991 #451D91
monochromatic
#2B2609 #5E5213 #917F1D #C4AC27 #DBC54D

Accessibility & contrast

On white

3.99
#917F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#917F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917F1D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917F1D#FFFFFF#000000##000000
##917F1D1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C05
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#9D756D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #917f1d;
/* rgb */ color: rgb(145, 127, 29);
/* oklch */ color: oklch(59.6% 0.113 98.1);
Tailwind
colors: {
  custom: {
    50: '#b5a362',
    500: '#917f1d',
    950: '#000000',
  },
}
SCSS
$custom: #917f1d;
$custom-light: #b5a362;
$custom-dark: #000000;
JSON
{
  "hex": "#917f1d",
  "rgb": {
    "r": 145,
    "g": 127,
    "b": 29
  },
  "hsl": {
    "h": 50.69,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.59586,
    "c": 0.11341,
    "h": 98.1
  },
  "luminance": 0.21287
}

Semantic roles & 50–950 ramp

primary
#917F1D
secondary
#4C5EBE
accent
#59EA3E
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #917F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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