#9D971E#9D971E

#9D971E is a light, vivid yellow. Relative luminance 0.294; OKLCH L 66.1% C 0.133 H 106.5°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9D971E
RGBrgb(157, 151, 30)
HSLhsl(57, 68%, 37%)
HSVhsv(57, 81%, 62%)
CMYKcmyk(0%, 3.8%, 80.9%, 38.4%)
CIE-LABlab(61.13, -11.22, 58.72)
CIE-LCHlch(61.13, 59.78, 100.81°)
OKLaboklab(66.11% -0.0377 0.1272)
OKLCHoklch(66.11% 0.133 106.5)
XYZxyz(25.2067, 29.3960, 5.5743)
Luminance0.2939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D971E #1E249D
analogous
#9D581E #9D971E #649D1E
triadic
#9D971E #1E9D97 #971E9D
tetradic
#9D971E #1E9D58 #1E249D #9D1E64
square
#9D971E #1E9D58 #1E249D #9D1E64
split-complementary
#9D971E #1E649D #581E9D
monochromatic
#36340A #6A6614 #9D971E #D0C828 #DFD857

Accessibility & contrast

On white

3.05
#9D971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#9D971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D971E
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D971E#FFFFFF#000000##000000
##9D971E1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d971e;
/* rgb */ color: rgb(157, 151, 30);
/* oklch */ color: oklch(66.1% 0.133 106.5);
Tailwind
colors: {
  custom: {
    50: '#beb566',
    500: '#9d971e',
    950: '#000000',
  },
}
SCSS
$custom: #9d971e;
$custom-light: #beb566;
$custom-dark: #000000;
JSON
{
  "hex": "#9d971e",
  "rgb": {
    "r": 157,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 57.165,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66107,
    "c": 0.13265,
    "h": 106.5
  },
  "luminance": 0.29395
}

Semantic roles & 50–950 ramp

primary
#9D971E
secondary
#545AC2
accent
#45EB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D971E

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

Preview Lab → · Contrast checker → · Palette generator →

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