#96AB28#96AB28

#96AB28 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.2% C 0.151 H 118.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#96AB28
RGBrgb(150, 171, 40)
HSLhsl(70, 62%, 41%)
HSVhsv(70, 77%, 67%)
CMYKcmyk(12.3%, 0%, 76.6%, 32.9%)
CIE-LABlab(66.34, -24.11, 60.12)
CIE-LCHlch(66.34, 64.78, 111.85°)
OKLaboklab(70.16% -0.0722 0.1323)
OKLCHoklch(70.16% 0.151 118.6)
XYZxyz(27.5242, 35.7633, 7.4601)
Luminance0.3576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AB28 #3D28AB
analogous
#AB7F28 #96AB28 #55AB28
triadic
#96AB28 #2896AB #AB2896
tetradic
#96AB28 #28AB7F #3D28AB #AB2855
square
#96AB28 #28AB7F #3D28AB #AB2855
split-complementary
#96AB28 #2855AB #7F28AB
monochromatic
#3F4811 #6A791C #96AB28 #BAD23E #CCDE70

Accessibility & contrast

On white

2.58
#96AB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#96AB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AB28
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AB28#FFFFFF#000000##000000
##96AB281.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A105
Deuteranopia (green-blind)
#B4A234
Tritanopia (blue-blind)
#9FA192
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #96ab28;
/* rgb */ color: rgb(150, 171, 40);
/* oklch */ color: oklch(70.2% 0.151 118.6);
Tailwind
colors: {
  custom: {
    50: '#b8c46d',
    500: '#96ab28',
    950: '#000000',
  },
}
SCSS
$custom: #96ab28;
$custom-light: #b8c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#96ab28",
  "rgb": {
    "r": 150,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 69.618,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.70158,
    "c": 0.15071,
    "h": 118.6
  },
  "luminance": 0.35763
}

Semantic roles & 50–950 ramp

primary
#96AB28
secondary
#796AC4
accent
#43E55D
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#121208
muted
#81817B

Preview Lab

Preview with #96AB28

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

Preview Lab → · Contrast checker → · Palette generator →

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