#96AA28#96AA28

#96AA28 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 69.9% C 0.150 H 118.3°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#96AA28
RGBrgb(150, 170, 40)
HSLhsl(69, 62%, 41%)
HSVhsv(69, 76%, 67%)
CMYKcmyk(11.8%, 0%, 76.5%, 33.3%)
CIE-LABlab(66.05, -23.62, 59.85)
CIE-LCHlch(66.05, 64.35, 111.53°)
OKLaboklab(69.93% -0.0708 0.1317)
OKLCHoklch(69.93% 0.15 118.3)
XYZxyz(27.3360, 35.3869, 7.3974)
Luminance0.3539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AA28 #3C28AA
analogous
#AA7D28 #96AA28 #55AA28
triadic
#96AA28 #2896AA #AA2896
tetradic
#96AA28 #28AA7D #3C28AA #AA2855
square
#96AA28 #28AA7D #3C28AA #AA2855
split-complementary
#96AA28 #2855AA #7D28AA
monochromatic
#3F4711 #6A781C #96AA28 #BBD23E #CCDD6F

Accessibility & contrast

On white

2.60
#96AA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#96AA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AA28
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AA28#FFFFFF#000000##000000
##96AA281.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A006
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#9FA092
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #96aa28;
/* rgb */ color: rgb(150, 170, 40);
/* oklch */ color: oklch(69.9% 0.150 118.3);
Tailwind
colors: {
  custom: {
    50: '#b8c36d',
    500: '#96aa28',
    950: '#000000',
  },
}
SCSS
$custom: #96aa28;
$custom-light: #b8c36d;
$custom-dark: #000000;
JSON
{
  "hex": "#96aa28",
  "rgb": {
    "r": 150,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 69.231,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69925,
    "c": 0.14956,
    "h": 118.3
  },
  "luminance": 0.35387
}

Semantic roles & 50–950 ramp

primary
#96AA28
secondary
#786AC4
accent
#43E55C
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #96AA28

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

Preview Lab → · Contrast checker → · Palette generator →

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