#959A2F#959A2F

#959A2F is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.2% C 0.127 H 112.0°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#959A2F
RGBrgb(149, 154, 47)
HSLhsl(63, 53%, 39%)
HSVhsv(63, 69%, 60%)
CMYKcmyk(3.2%, 0%, 69.5%, 39.6%)
CIE-LABlab(61.40, -15.57, 52.82)
CIE-LCHlch(61.40, 55.07, 106.42°)
OKLaboklab(66.19% -0.0478 0.1181)
OKLCHoklch(66.19% 0.127 112)
XYZxyz(24.4639, 29.7066, 7.1340)
Luminance0.2971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959A2F #342F9A
analogous
#9A6A2F #959A2F #609A2F
triadic
#959A2F #2F959A #9A2F95
tetradic
#959A2F #2F9A6A #342F9A #9A2F60
square
#959A2F #2F9A6A #342F9A #9A2F60
split-complementary
#959A2F #2F609A #6A2F9A
monochromatic
#3A3C12 #686B21 #959A2F #BFC541 #CFD370

Accessibility & contrast

On white

3.03
#959A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#959A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #959A2F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959A2F#FFFFFF#000000##000000
##959A2F1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931E
Deuteranopia (green-blind)
#A69637
Tritanopia (blue-blind)
#9F9185
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #959a2f;
/* rgb */ color: rgb(149, 154, 47);
/* oklch */ color: oklch(66.2% 0.127 112.0);
Tailwind
colors: {
  custom: {
    50: '#b7b76e',
    500: '#959a2f',
    950: '#000000',
  },
}
SCSS
$custom: #959a2f;
$custom-light: #b7b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#959a2f",
  "rgb": {
    "r": 149,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 62.804,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66189,
    "c": 0.12743,
    "h": 112
  },
  "luminance": 0.29706
}

Semantic roles & 50–950 ramp

primary
#959A2F
secondary
#6E6ABB
accent
#4BDD52
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #959A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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