#959E1B#959E1B

#959E1B is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.0% C 0.143 H 113.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#959E1B
RGBrgb(149, 158, 27)
HSLhsl(64, 71%, 36%)
HSVhsv(64, 83%, 62%)
CMYKcmyk(5.7%, 0%, 82.9%, 38%)
CIE-LABlab(62.44, -18.53, 60.44)
CIE-LCHlch(62.44, 63.21, 107.04°)
OKLaboklab(66.99% -0.0577 0.1307)
OKLCHoklch(66.99% 0.143 113.8)
XYZxyz(24.8199, 30.9229, 5.6980)
Luminance0.3092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959E1B #241B9E
analogous
#9E661B #959E1B #549E1B
triadic
#959E1B #1B959E #9E1B95
tetradic
#959E1B #1B9E66 #241B9E #9E1B54
square
#959E1B #1B9E66 #241B9E #9E1B54
split-complementary
#959E1B #1B549E #661B9E
monochromatic
#323509 #646A12 #959E1B #C6D224 #D8E152

Accessibility & contrast

On white

2.92
#959E1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#959E1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959E1B
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959E1B#FFFFFF#000000##000000
##959E1B1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AA9829
Tritanopia (blue-blind)
#A09487
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #959e1b;
/* rgb */ color: rgb(149, 158, 27);
/* oklch */ color: oklch(67.0% 0.143 113.8);
Tailwind
colors: {
  custom: {
    50: '#b8ba66',
    500: '#959e1b',
    950: '#000000',
  },
}
SCSS
$custom: #959e1b;
$custom-light: #b8ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#959e1b",
  "rgb": {
    "r": 149,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 64.122,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6699,
    "c": 0.14288,
    "h": 113.8
  },
  "luminance": 0.30922
}

Semantic roles & 50–950 ramp

primary
#959E1B
secondary
#5951C4
accent
#3AEE47
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #959E1B

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

Preview Lab → · Contrast checker → · Palette generator →

#959E1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva