#959E1C#959E1C

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

Color values

HEX#959E1C
RGBrgb(149, 158, 28)
HSLhsl(64, 70%, 36%)
HSVhsv(64, 82%, 62%)
CMYKcmyk(5.7%, 0%, 82.3%, 38%)
CIE-LABlab(62.45, -18.49, 60.17)
CIE-LCHlch(62.45, 62.95, 107.08°)
OKLaboklab(66.99% -0.0576 0.1303)
OKLCHoklch(66.99% 0.142 113.8)
XYZxyz(24.8317, 30.9276, 5.7599)
Luminance0.3093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959E1C #251C9E
analogous
#9E661C #959E1C #549E1C
triadic
#959E1C #1C959E #9E1C95
tetradic
#959E1C #1C9E66 #251C9E #9E1C54
square
#959E1C #1C9E66 #251C9E #9E1C54
split-complementary
#959E1C #1C549E #661C9E
monochromatic
#33360A #646A13 #959E1C #C6D225 #D7E154

Accessibility & contrast

On white

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

On black

7.19
#959E1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959E1C
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959E1C#FFFFFF#000000##000000
##959E1C1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #959e1c;
/* rgb */ color: rgb(149, 158, 28);
/* oklch */ color: oklch(67.0% 0.142 113.8);
Tailwind
colors: {
  custom: {
    50: '#b8ba66',
    500: '#959e1c',
    950: '#000000',
  },
}
SCSS
$custom: #959e1c;
$custom-light: #b8ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#959e1c",
  "rgb": {
    "r": 149,
    "g": 158,
    "b": 28
  },
  "hsl": {
    "h": 64.154,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66994,
    "c": 0.14246,
    "h": 113.8
  },
  "luminance": 0.30927
}

Semantic roles & 50–950 ramp

primary
#959E1C
secondary
#5A52C4
accent
#3BED47
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #959E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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