#95B31A#95B31A

#95B31A is a light, vivid yellow-green. Relative luminance 0.387; OKLCH L 71.9% C 0.166 H 121.2°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#95B31A
RGBrgb(149, 179, 26)
HSLhsl(72, 75%, 40%)
HSVhsv(72, 85%, 70%)
CMYKcmyk(16.8%, 0%, 85.5%, 29.8%)
CIE-LABlab(68.54, -28.93, 65.88)
CIE-LCHlch(68.54, 71.95, 113.71°)
OKLaboklab(71.89% -0.0863 0.1423)
OKLCHoklch(71.89% 0.166 121.2)
XYZxyz(28.7015, 38.7044, 6.9357)
Luminance0.3870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95B31A #381AB3
analogous
#B3851A #95B31A #48B31A
triadic
#95B31A #1A95B3 #B31A95
tetradic
#95B31A #1AB385 #381AB3 #B31A48
square
#95B31A #1AB385 #381AB3 #B31A48
split-complementary
#95B31A #1A48B3 #851AB3
monochromatic
#3C480A #697E12 #95B31A #BCE02A #CDE860

Accessibility & contrast

On white

2.40
#95B31A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#95B31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #95B31A
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95B31A#FFFFFF#000000##000000
##95B31A1.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BBA72D
Tritanopia (blue-blind)
#9EA998
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #95b31a;
/* rgb */ color: rgb(149, 179, 26);
/* oklch */ color: oklch(71.9% 0.166 121.2);
Tailwind
colors: {
  custom: {
    50: '#b8c968',
    500: '#95b31a',
    950: '#000000',
  },
}
SCSS
$custom: #95b31a;
$custom-light: #b8c968;
$custom-dark: #000000;
JSON
{
  "hex": "#95b31a",
  "rgb": {
    "r": 149,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 71.765,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.71894,
    "c": 0.1664,
    "h": 121.2
  },
  "luminance": 0.38704
}

Semantic roles & 50–950 ramp

primary
#95B31A
secondary
#735DCC
accent
#37F15B
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #95B31A

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

Preview Lab → · Contrast checker → · Palette generator →

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