#96A428#96A428

#96A428 is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.5% C 0.143 H 116.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#96A428
RGBrgb(150, 164, 40)
HSLhsl(67, 61%, 40%)
HSVhsv(67, 76%, 64%)
CMYKcmyk(8.5%, 0%, 75.6%, 35.7%)
CIE-LABlab(64.31, -20.62, 58.23)
CIE-LCHlch(64.31, 61.78, 109.50°)
OKLaboklab(68.53% -0.0626 0.1283)
OKLCHoklch(68.53% 0.143 116)
XYZxyz(26.2368, 33.1885, 7.0310)
Luminance0.3319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A428 #3628A4
analogous
#A47428 #96A428 #58A428
triadic
#96A428 #2896A4 #A42896
tetradic
#96A428 #28A474 #3628A4 #A42858
square
#96A428 #28A474 #3628A4 #A42858
split-complementary
#96A428 #2858A4 #7428A4
monochromatic
#3C4210 #69731C #96A428 #BECF3A #CEDB6B

Accessibility & contrast

On white

2.75
#96A428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#96A428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A428
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A428#FFFFFF#000000##000000
##96A4281.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B0B
Deuteranopia (green-blind)
#AF9D33
Tritanopia (blue-blind)
#A09A8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #96a428;
/* rgb */ color: rgb(150, 164, 40);
/* oklch */ color: oklch(68.5% 0.143 116.0);
Tailwind
colors: {
  custom: {
    50: '#b8be6c',
    500: '#96a428',
    950: '#000000',
  },
}
SCSS
$custom: #96a428;
$custom-light: #b8be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#96a428",
  "rgb": {
    "r": 150,
    "g": 164,
    "b": 40
  },
  "hsl": {
    "h": 66.774,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.6853,
    "c": 0.14274,
    "h": 116
  },
  "luminance": 0.33188
}

Semantic roles & 50–950 ramp

primary
#96A428
secondary
#7166C1
accent
#44E456
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A428

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

Preview Lab → · Contrast checker → · Palette generator →

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