#95B21F#95B21F

#95B21F is a light, vivid yellow-green. Relative luminance 0.383; OKLCH L 71.7% C 0.163 H 121.1°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#95B21F
RGBrgb(149, 178, 31)
HSLhsl(72, 70%, 41%)
HSVhsv(72, 83%, 70%)
CMYKcmyk(16.3%, 0%, 82.6%, 30.2%)
CIE-LABlab(68.26, -28.29, 64.44)
CIE-LCHlch(68.26, 70.38, 113.70°)
OKLaboklab(71.68% -0.0843 0.14)
OKLCHoklch(71.68% 0.163 121.1)
XYZxyz(28.5627, 38.3293, 7.1896)
Luminance0.3833 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95B21F #3C1FB2
analogous
#B2851F #95B21F #4BB21F
triadic
#95B21F #1F95B2 #B21F95
tetradic
#95B21F #1FB285 #3C1FB2 #B21F4B
square
#95B21F #1FB285 #3C1FB2 #B21F4B
split-complementary
#95B21F #1F4BB2 #851FB2
monochromatic
#3E4A0D #697E16 #95B21F #BADB33 #CCE567

Accessibility & contrast

On white

2.42
#95B21F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#95B21F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #95B21F
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95B21F#FFFFFF#000000##000000
##95B21F1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BAA72F
Tritanopia (blue-blind)
#9EA898
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #95b21f;
/* rgb */ color: rgb(149, 178, 31);
/* oklch */ color: oklch(71.7% 0.163 121.1);
Tailwind
colors: {
  custom: {
    50: '#b8c96a',
    500: '#95b21f',
    950: '#000000',
  },
}
SCSS
$custom: #95b21f;
$custom-light: #b8c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#95b21f",
  "rgb": {
    "r": 149,
    "g": 178,
    "b": 31
  },
  "hsl": {
    "h": 71.837,
    "s": 70.335,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71679,
    "c": 0.16338,
    "h": 121.1
  },
  "luminance": 0.38329
}

Semantic roles & 50–950 ramp

primary
#95B21F
secondary
#7763CA
accent
#3BED5E
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #95B21F

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

Preview Lab → · Contrast checker → · Palette generator →

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