#959D21#959D21

#959D21 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#959D21
RGBrgb(149, 157, 33)
HSLhsl(64, 65%, 37%)
HSVhsv(64, 79%, 62%)
CMYKcmyk(5.1%, 0%, 79%, 38.4%)
CIE-LABlab(62.18, -17.80, 58.50)
CIE-LCHlch(62.18, 61.14, 106.92°)
OKLaboklab(66.79% -0.0553 0.1276)
OKLCHoklch(66.79% 0.139 113.4)
XYZxyz(24.7267, 30.6138, 6.0451)
Luminance0.3061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#959D21 #29219D
analogous
#9D6721 #959D21 #579D21
triadic
#959D21 #21959D #9D2195
tetradic
#959D21 #219D67 #29219D #9D2157
square
#959D21 #219D67 #29219D #9D2157
split-complementary
#959D21 #21579D #67219D
monochromatic
#35380C #656A16 #959D21 #C5D02C #D4DD5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##959D21#FFFFFF#000000##000000
##959D211.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: #959d21;
/* rgb */ color: rgb(149, 157, 33);
/* oklch */ color: oklch(66.8% 0.139 113.4);
Tailwind
colors: {
  custom: {
    50: '#b8b968',
    500: '#959d21',
    950: '#000000',
  },
}
SCSS
$custom: #959d21;
$custom-light: #b8b968;
$custom-dark: #000000;
JSON
{
  "hex": "#959d21",
  "rgb": {
    "r": 149,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 63.871,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66788,
    "c": 0.13907,
    "h": 113.4
  },
  "luminance": 0.30613
}

Semantic roles & 50–950 ramp

primary
#959D21
secondary
#6059C1
accent
#40E84A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #959D21

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

Preview Lab → · Contrast checker → · Palette generator →

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