#959D20#959D20

#959D20 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.8% C 0.140 H 113.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#959D20
RGBrgb(149, 157, 32)
HSLhsl(64, 66%, 37%)
HSVhsv(64, 80%, 62%)
CMYKcmyk(5.1%, 0%, 79.6%, 38.4%)
CIE-LABlab(62.18, -17.84, 58.79)
CIE-LCHlch(62.18, 61.44, 106.88°)
OKLaboklab(66.78% -0.0555 0.1281)
OKLCHoklch(66.78% 0.14 113.4)
XYZxyz(24.7129, 30.6083, 5.9724)
Luminance0.3061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959D20 #28209D
analogous
#9D6720 #959D20 #579D20
triadic
#959D20 #20959D #9D2095
tetradic
#959D20 #209D67 #28209D #9D2057
square
#959D20 #209D67 #28209D #9D2057
split-complementary
#959D20 #20579D #67209D
monochromatic
#35370B #656A16 #959D20 #C5D02A #D5DD5A

Accessibility & contrast

On white

2.95
#959D20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#959D20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #959D20
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##959D20#FFFFFF#000000##000000
##959D201.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A9972C
Tritanopia (blue-blind)
#9F9386
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #959d20;
/* rgb */ color: rgb(149, 157, 32);
/* oklch */ color: oklch(66.8% 0.140 113.4);
Tailwind
colors: {
  custom: {
    50: '#b8b967',
    500: '#959d20',
    950: '#000000',
  },
}
SCSS
$custom: #959d20;
$custom-light: #b8b967;
$custom-dark: #000000;
JSON
{
  "hex": "#959d20",
  "rgb": {
    "r": 149,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 63.84,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66782,
    "c": 0.13957,
    "h": 113.4
  },
  "luminance": 0.30608
}

Semantic roles & 50–950 ramp

primary
#959D20
secondary
#5E57C1
accent
#3FE94A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #959D20

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

Preview Lab → · Contrast checker → · Palette generator →

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