#9D951E#9D951E

#9D951E is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.7% C 0.131 H 105.4°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9D951E
RGBrgb(157, 149, 30)
HSLhsl(56, 68%, 37%)
HSVhsv(56, 81%, 62%)
CMYKcmyk(0%, 5.1%, 80.9%, 38.4%)
CIE-LABlab(60.57, -10.15, 58.22)
CIE-LCHlch(60.57, 59.10, 99.89°)
OKLaboklab(65.66% -0.0347 0.1261)
OKLCHoklch(65.66% 0.131 105.4)
XYZxyz(24.8875, 28.7577, 5.4679)
Luminance0.2876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D951E #1E269D
analogous
#9D551E #9D951E #669D1E
triadic
#9D951E #1E9D95 #951E9D
tetradic
#9D951E #1E9D55 #1E269D #9D1E66
square
#9D951E #1E9D55 #1E269D #9D1E66
split-complementary
#9D951E #1E669D #551E9D
monochromatic
#36330A #6A6414 #9D951E #D0C628 #DFD657

Accessibility & contrast

On white

3.11
#9D951E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#9D951E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D951E
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D951E#FFFFFF#000000##000000
##9D951E1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A69428
Tritanopia (blue-blind)
#A98A7F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9d951e;
/* rgb */ color: rgb(157, 149, 30);
/* oklch */ color: oklch(65.7% 0.131 105.4);
Tailwind
colors: {
  custom: {
    50: '#beb366',
    500: '#9d951e',
    950: '#000000',
  },
}
SCSS
$custom: #9d951e;
$custom-light: #beb366;
$custom-dark: #000000;
JSON
{
  "hex": "#9d951e",
  "rgb": {
    "r": 157,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 56.22,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65659,
    "c": 0.1308,
    "h": 105.4
  },
  "luminance": 0.28757
}

Semantic roles & 50–950 ramp

primary
#9D951E
secondary
#545BC2
accent
#48EB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D951E

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

Preview Lab → · Contrast checker → · Palette generator →

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