#9E971D#9E971D

#9E971D is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.2% C 0.133 H 106.0°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9E971D
RGBrgb(158, 151, 29)
HSLhsl(57, 69%, 37%)
HSVhsv(57, 82%, 62%)
CMYKcmyk(0%, 4.4%, 81.6%, 38%)
CIE-LABlab(61.21, -10.80, 59.12)
CIE-LCHlch(61.21, 60.10, 100.35°)
OKLaboklab(66.19% -0.0366 0.1278)
OKLCHoklch(66.19% 0.133 106)
XYZxyz(25.3900, 29.4920, 5.5173)
Luminance0.2949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E971D #1D249E
analogous
#9E571D #9E971D #659E1D
triadic
#9E971D #1D9E97 #971D9E
tetradic
#9E971D #1D9E57 #1D249E #9E1D65
square
#9E971D #1D9E57 #1D249E #9E1D65
split-complementary
#9E971D #1D659E #571D9E
monochromatic
#37340A #6A6614 #9E971D #D2C826 #E0D856

Accessibility & contrast

On white

3.04
#9E971D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#9E971D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E971D
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E971D#FFFFFF#000000##000000
##9E971D1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A89628
Tritanopia (blue-blind)
#AA8C81
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9e971d;
/* rgb */ color: rgb(158, 151, 29);
/* oklch */ color: oklch(66.2% 0.133 106.0);
Tailwind
colors: {
  custom: {
    50: '#bfb566',
    500: '#9e971d',
    950: '#000000',
  },
}
SCSS
$custom: #9e971d;
$custom-light: #bfb566;
$custom-dark: #000000;
JSON
{
  "hex": "#9e971d",
  "rgb": {
    "r": 158,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 56.744,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66194,
    "c": 0.13295,
    "h": 106
  },
  "luminance": 0.29491
}

Semantic roles & 50–950 ramp

primary
#9E971D
secondary
#545AC3
accent
#46EC3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E971D

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

Preview Lab → · Contrast checker → · Palette generator →

#9E971D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva