#9E951B#9E951B

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

Color values

HEX#9E951B
RGBrgb(158, 149, 27)
HSLhsl(56, 71%, 36%)
HSVhsv(56, 83%, 62%)
CMYKcmyk(0%, 5.7%, 82.9%, 38%)
CIE-LABlab(60.64, -9.80, 59.19)
CIE-LCHlch(60.64, 60.00, 99.40°)
OKLaboklab(65.74% -0.034 0.1276)
OKLCHoklch(65.74% 0.132 104.9)
XYZxyz(25.0470, 28.8442, 5.2848)
Luminance0.2884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E951B #1B249E
analogous
#9E541B #9E951B #669E1B
triadic
#9E951B #1B9E95 #951B9E
tetradic
#9E951B #1B9E54 #1B249E #9E1B66
square
#9E951B #1B9E54 #1B249E #9E1B66
split-complementary
#9E951B #1B669E #541B9E
monochromatic
#353209 #6A6412 #9E951B #D2C624 #E1D852

Accessibility & contrast

On white

3.10
#9E951B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#9E951B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E951B
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E951B#FFFFFF#000000##000000
##9E951B1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e951b;
/* rgb */ color: rgb(158, 149, 27);
/* oklch */ color: oklch(65.7% 0.132 104.9);
Tailwind
colors: {
  custom: {
    50: '#bfb365',
    500: '#9e951b',
    950: '#000000',
  },
}
SCSS
$custom: #9e951b;
$custom-light: #bfb365;
$custom-dark: #000000;
JSON
{
  "hex": "#9e951b",
  "rgb": {
    "r": 158,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 55.878,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65737,
    "c": 0.13203,
    "h": 104.9
  },
  "luminance": 0.28843
}

Semantic roles & 50–950 ramp

primary
#9E951B
secondary
#5159C4
accent
#47EE3A
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9E951B

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

Preview Lab → · Contrast checker → · Palette generator →

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