#95AA21#95AA21

#95AA21 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 69.8% C 0.153 H 118.5°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#95AA21
RGBrgb(149, 170, 33)
HSLhsl(69, 67%, 40%)
HSVhsv(69, 81%, 67%)
CMYKcmyk(12.4%, 0%, 80.6%, 33.3%)
CIE-LABlab(65.94, -24.34, 61.86)
CIE-LCHlch(65.94, 66.48, 111.47°)
OKLaboklab(69.81% -0.0733 0.1348)
OKLCHoklch(69.81% 0.153 118.5)
XYZxyz(27.0443, 35.2490, 6.8176)
Luminance0.3525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95AA21 #3621AA
analogous
#AA7B21 #95AA21 #51AA21
triadic
#95AA21 #2195AA #AA2195
tetradic
#95AA21 #21AA7B #3621AA #AA2151
square
#95AA21 #21AA7B #3621AA #AA2151
split-complementary
#95AA21 #2151AA #7B21AA
monochromatic
#3B430D #687717 #95AA21 #BED731 #CEE164

Accessibility & contrast

On white

2.61
#95AA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#95AA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #95AA21
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95AA21#FFFFFF#000000##000000
##95AA211.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B3A12F
Tritanopia (blue-blind)
#9EA091
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #95aa21;
/* rgb */ color: rgb(149, 170, 33);
/* oklch */ color: oklch(69.8% 0.153 118.5);
Tailwind
colors: {
  custom: {
    50: '#b8c36a',
    500: '#95aa21',
    950: '#000000',
  },
}
SCSS
$custom: #95aa21;
$custom-light: #b8c36a;
$custom-dark: #000000;
JSON
{
  "hex": "#95aa21",
  "rgb": {
    "r": 149,
    "g": 170,
    "b": 33
  },
  "hsl": {
    "h": 69.197,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6981,
    "c": 0.15343,
    "h": 118.5
  },
  "luminance": 0.35249
}

Semantic roles & 50–950 ramp

primary
#95AA21
secondary
#7061C6
accent
#3DEA58
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #95AA21

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

Preview Lab → · Contrast checker → · Palette generator →

#95AA21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva