#959D2E#959D2E

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

Color values

HEX#959D2E
RGBrgb(149, 157, 46)
HSLhsl(64, 55%, 40%)
HSVhsv(64, 71%, 62%)
CMYKcmyk(5.1%, 0%, 70.7%, 38.4%)
CIE-LABlab(62.25, -17.18, 54.06)
CIE-LCHlch(62.25, 56.72, 107.63°)
OKLaboklab(66.87% -0.0524 0.1206)
OKLCHoklch(66.87% 0.131 113.5)
XYZxyz(24.9453, 30.7013, 7.1961)
Luminance0.3070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959D2E #362E9D
analogous
#9D6D2E #959D2E #5E9D2E
triadic
#959D2E #2E959D #9D2E95
tetradic
#959D2E #2E9D6D #362E9D #9D2E5E
square
#959D2E #2E9D6D #362E9D #9D2E5E
split-complementary
#959D2E #2E5E9D #6D2E9D
monochromatic
#3B3E12 #686E20 #959D2E #BEC741 #CED570

Accessibility & contrast

On white

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

On black

7.14
#959D2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959D2E
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959D2E#FFFFFF#000000##000000
##959D2E1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9951C
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#9F9487
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #959d2e;
/* rgb */ color: rgb(149, 157, 46);
/* oklch */ color: oklch(66.9% 0.131 113.5);
Tailwind
colors: {
  custom: {
    50: '#b7b96e',
    500: '#959d2e',
    950: '#000000',
  },
}
SCSS
$custom: #959d2e;
$custom-light: #b7b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#959d2e",
  "rgb": {
    "r": 149,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 64.324,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66871,
    "c": 0.13146,
    "h": 113.5
  },
  "luminance": 0.30701
}

Semantic roles & 50–950 ramp

primary
#959D2E
secondary
#706ABD
accent
#4ADE54
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #959D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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