#95B228#95B228

#95B228 is a light, vivid yellow-green. Relative luminance 0.384; OKLCH L 71.7% C 0.159 H 121.3°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#95B228
RGBrgb(149, 178, 40)
HSLhsl(73, 63%, 43%)
HSVhsv(73, 78%, 70%)
CMYKcmyk(16.3%, 0%, 77.5%, 30.2%)
CIE-LABlab(68.30, -27.94, 61.92)
CIE-LCHlch(68.30, 67.93, 114.28°)
OKLaboklab(71.72% -0.0827 0.1361)
OKLCHoklch(71.72% 0.159 121.3)
XYZxyz(28.6983, 38.3836, 7.9040)
Luminance0.3838 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95B228 #4528B2
analogous
#B28A28 #95B228 #50B228
triadic
#95B228 #2895B2 #B22895
tetradic
#95B228 #28B28A #4528B2 #B22850
square
#95B228 #28B28A #4528B2 #B22850
split-complementary
#95B228 #2850B2 #8A28B2
monochromatic
#414E12 #6B801D #95B228 #B6D543 #C9E075

Accessibility & contrast

On white

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

On black

8.68
#95B228 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #95B228
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95B228#FFFFFF#000000##000000
##95B2281.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #95b228;
/* rgb */ color: rgb(149, 178, 40);
/* oklch */ color: oklch(71.7% 0.159 121.3);
Tailwind
colors: {
  custom: {
    50: '#b8c96e',
    500: '#95b228',
    950: '#000000',
  },
}
SCSS
$custom: #95b228;
$custom-light: #b8c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#95b228",
  "rgb": {
    "r": 149,
    "g": 178,
    "b": 40
  },
  "hsl": {
    "h": 72.609,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71723,
    "c": 0.15924,
    "h": 121.3
  },
  "luminance": 0.38384
}

Semantic roles & 50–950 ramp

primary
#95B228
secondary
#816FC7
accent
#41E664
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #95B228

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

Preview Lab → · Contrast checker → · Palette generator →

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