#959D22#959D22

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

Color values

HEX#959D22
RGBrgb(149, 157, 34)
HSLhsl(64, 64%, 37%)
HSVhsv(64, 78%, 62%)
CMYKcmyk(5.1%, 0%, 78.3%, 38.4%)
CIE-LABlab(62.19, -17.76, 58.19)
CIE-LCHlch(62.19, 60.84, 106.97°)
OKLaboklab(66.79% -0.0551 0.1272)
OKLCHoklch(66.79% 0.139 113.4)
XYZxyz(24.7409, 30.6195, 6.1199)
Luminance0.3062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959D22 #2A229D
analogous
#9D6722 #959D22 #589D22
triadic
#959D22 #22959D #9D2295
tetradic
#959D22 #229D67 #2A229D #9D2258
square
#959D22 #229D67 #2A229D #9D2258
split-complementary
#959D22 #22589D #67229D
monochromatic
#36380C #656B17 #959D22 #C5CF2D #D4DC5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##959D22#FFFFFF#000000##000000
##959D221.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)
#A9972D
Tritanopia (blue-blind)
#9F9386
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #959d22;
/* rgb */ color: rgb(149, 157, 34);
/* oklch */ color: oklch(66.8% 0.139 113.4);
Tailwind
colors: {
  custom: {
    50: '#b8b968',
    500: '#959d22',
    950: '#000000',
  },
}
SCSS
$custom: #959d22;
$custom-light: #b8b968;
$custom-dark: #000000;
JSON
{
  "hex": "#959d22",
  "rgb": {
    "r": 149,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 63.902,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66793,
    "c": 0.13857,
    "h": 113.4
  },
  "luminance": 0.30619
}

Semantic roles & 50–950 ramp

primary
#959D22
secondary
#615AC1
accent
#40E74B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #959D22

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

Preview Lab → · Contrast checker → · Palette generator →

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