#96A229#96A229

#96A229 is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.1% C 0.140 H 115.2°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#96A229
RGBrgb(150, 162, 41)
HSLhsl(66, 60%, 40%)
HSVhsv(66, 75%, 64%)
CMYKcmyk(7.4%, 0%, 74.7%, 36.5%)
CIE-LABlab(63.74, -19.56, 57.35)
CIE-LCHlch(63.74, 60.60, 108.83°)
OKLaboklab(68.07% -0.0595 0.1266)
OKLCHoklch(68.07% 0.14 115.2)
XYZxyz(25.8990, 32.4852, 7.0033)
Luminance0.3249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A229 #3529A2
analogous
#A27129 #96A229 #5AA229
triadic
#96A229 #2996A2 #A22996
tetradic
#96A229 #29A271 #3529A2 #A2295A
square
#96A229 #29A271 #3529A2 #A2295A
split-complementary
#96A229 #295AA2 #7129A2
monochromatic
#3C4010 #69711D #96A229 #BFCD3B #CFDA6C

Accessibility & contrast

On white

2.80
#96A229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#96A229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A229
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A229#FFFFFF#000000##000000
##96A2291.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0F
Deuteranopia (green-blind)
#AD9B33
Tritanopia (blue-blind)
#A0988B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a229;
/* rgb */ color: rgb(150, 162, 41);
/* oklch */ color: oklch(68.1% 0.140 115.2);
Tailwind
colors: {
  custom: {
    50: '#b8bd6c',
    500: '#96a229',
    950: '#000000',
  },
}
SCSS
$custom: #96a229;
$custom-light: #b8bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#96a229",
  "rgb": {
    "r": 150,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 65.95,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68073,
    "c": 0.13991,
    "h": 115.2
  },
  "luminance": 0.32485
}

Semantic roles & 50–950 ramp

primary
#96A229
secondary
#6F67C0
accent
#45E355
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A229

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

Preview Lab → · Contrast checker → · Palette generator →

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