#95A821#95A821

#95A821 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.3% C 0.151 H 117.8°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#95A821
RGBrgb(149, 168, 33)
HSLhsl(68, 67%, 39%)
HSVhsv(68, 80%, 66%)
CMYKcmyk(11.3%, 0%, 80.4%, 34.1%)
CIE-LABlab(65.36, -23.35, 61.34)
CIE-LCHlch(65.36, 65.64, 110.84°)
OKLaboklab(69.34% -0.0706 0.1337)
OKLCHoklch(69.34% 0.151 117.8)
XYZxyz(26.6722, 34.5049, 6.6936)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95A821 #3421A8
analogous
#A87721 #95A821 #52A821
triadic
#95A821 #2195A8 #A82195
tetradic
#95A821 #21A877 #3421A8 #A82152
square
#95A821 #21A877 #3421A8 #A82152
split-complementary
#95A821 #2152A8 #7721A8
monochromatic
#3A420D #687517 #95A821 #BFD630 #CFE063

Accessibility & contrast

On white

2.66
#95A821 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#95A821 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #95A821
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95A821#FFFFFF#000000##000000
##95A8211.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B29F2F
Tritanopia (blue-blind)
#9F9E8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #95a821;
/* rgb */ color: rgb(149, 168, 33);
/* oklch */ color: oklch(69.3% 0.151 117.8);
Tailwind
colors: {
  custom: {
    50: '#b8c169',
    500: '#95a821',
    950: '#000000',
  },
}
SCSS
$custom: #95a821;
$custom-light: #b8c169;
$custom-dark: #000000;
JSON
{
  "hex": "#95a821",
  "rgb": {
    "r": 149,
    "g": 168,
    "b": 33
  },
  "hsl": {
    "h": 68.444,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.69343,
    "c": 0.15118,
    "h": 117.8
  },
  "luminance": 0.34505
}

Semantic roles & 50–950 ramp

primary
#95A821
secondary
#6E5FC5
accent
#3EEA56
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #95A821

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

Preview Lab → · Contrast checker → · Palette generator →

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