#96AF28#96AF28

#96AF28 is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 71.1% C 0.155 H 120.0°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#96AF28
RGBrgb(150, 175, 40)
HSLhsl(71, 63%, 42%)
HSVhsv(71, 77%, 69%)
CMYKcmyk(14.3%, 0%, 77.1%, 31.4%)
CIE-LABlab(67.50, -26.07, 61.20)
CIE-LCHlch(67.50, 66.52, 113.07°)
OKLaboklab(71.09% -0.0776 0.1346)
OKLCHoklch(71.09% 0.155 120)
XYZxyz(28.2912, 37.2973, 7.7158)
Luminance0.3730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AF28 #4128AF
analogous
#AF8528 #96AF28 #53AF28
triadic
#96AF28 #2896AF #AF2896
tetradic
#96AF28 #28AF85 #4128AF #AF2853
square
#96AF28 #28AF85 #4128AF #AF2853
split-complementary
#96AF28 #2853AF #8528AF
monochromatic
#414B11 #6B7D1D #96AF28 #B8D441 #CBDF73

Accessibility & contrast

On white

2.48
#96AF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#96AF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AF28
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AF28#FFFFFF#000000##000000
##96AF281.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA502
Deuteranopia (green-blind)
#B7A535
Tritanopia (blue-blind)
#9FA596
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #96af28;
/* rgb */ color: rgb(150, 175, 40);
/* oklch */ color: oklch(71.1% 0.155 120.0);
Tailwind
colors: {
  custom: {
    50: '#b8c66d',
    500: '#96af28',
    950: '#000000',
  },
}
SCSS
$custom: #96af28;
$custom-light: #b8c66d;
$custom-dark: #000000;
JSON
{
  "hex": "#96af28",
  "rgb": {
    "r": 150,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 71.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71093,
    "c": 0.15533,
    "h": 120
  },
  "luminance": 0.37297
}

Semantic roles & 50–950 ramp

primary
#96AF28
secondary
#7D6DC6
accent
#42E660
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #96AF28

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

Preview Lab → · Contrast checker → · Palette generator →

#96AF28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva