#959D2A#959D2A

#959D2A is a light, vivid yellow. Relative luminance 0.307; OKLCH L 66.8% C 0.134 H 113.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#959D2A
RGBrgb(149, 157, 42)
HSLhsl(64, 58%, 39%)
HSVhsv(64, 73%, 62%)
CMYKcmyk(5.1%, 0%, 73.2%, 38.4%)
CIE-LABlab(62.23, -17.39, 55.53)
CIE-LCHlch(62.23, 58.19, 107.39°)
OKLaboklab(66.84% -0.0534 0.123)
OKLCHoklch(66.84% 0.134 113.5)
XYZxyz(24.8701, 30.6712, 6.8001)
Luminance0.3067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959D2A #322A9D
analogous
#9D6C2A #959D2A #5C9D2A
triadic
#959D2A #2A959D #9D2A95
tetradic
#959D2A #2A9D6C #322A9D #9D2A5C
square
#959D2A #2A9D6C #322A9D #9D2A5C
split-complementary
#959D2A #2A5C9D #6C2A9D
monochromatic
#393C10 #676D1D #959D2A #C0CA3A #D0D76A

Accessibility & contrast

On white

2.94
#959D2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#959D2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959D2A
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959D2A#FFFFFF#000000##000000
##959D2A1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99514
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#9F9387
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #959d2a;
/* rgb */ color: rgb(149, 157, 42);
/* oklch */ color: oklch(66.8% 0.134 113.5);
Tailwind
colors: {
  custom: {
    50: '#b7b96c',
    500: '#959d2a',
    950: '#000000',
  },
}
SCSS
$custom: #959d2a;
$custom-light: #b7b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#959d2a",
  "rgb": {
    "r": 149,
    "g": 157,
    "b": 42
  },
  "hsl": {
    "h": 64.174,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66842,
    "c": 0.13404,
    "h": 113.5
  },
  "luminance": 0.30671
}

Semantic roles & 50–950 ramp

primary
#959D2A
secondary
#6B65BE
accent
#47E152
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #959D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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