#96A233#96A233

#96A233 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.1% C 0.133 H 115.3°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#96A233
RGBrgb(150, 162, 51)
HSLhsl(66, 52%, 42%)
HSVhsv(66, 69%, 64%)
CMYKcmyk(7.4%, 0%, 68.5%, 36.5%)
CIE-LABlab(63.81, -19.02, 53.68)
CIE-LCHlch(63.81, 56.95, 109.51°)
OKLaboklab(68.15% -0.0571 0.1206)
OKLCHoklch(68.15% 0.133 115.3)
XYZxyz(26.0962, 32.5641, 8.0421)
Luminance0.3256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A233 #3F33A2
analogous
#A27733 #96A233 #5FA233
triadic
#96A233 #3396A2 #A23396
tetradic
#96A233 #33A277 #3F33A2 #A2335F
square
#96A233 #33A277 #3F33A2 #A2335F
split-complementary
#96A233 #335FA2 #7733A2
monochromatic
#404516 #6B7324 #96A233 #B9C74C #CBD57A

Accessibility & contrast

On white

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

On black

7.51
#96A233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A233
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A233#FFFFFF#000000##000000
##96A2331.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A22
Deuteranopia (green-blind)
#AD9B3B
Tritanopia (blue-blind)
#A0998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #96a233;
/* rgb */ color: rgb(150, 162, 51);
/* oklch */ color: oklch(68.1% 0.133 115.3);
Tailwind
colors: {
  custom: {
    50: '#b8bd71',
    500: '#96a233',
    950: '#000000',
  },
}
SCSS
$custom: #96a233;
$custom-light: #b8bd71;
$custom-dark: #000000;
JSON
{
  "hex": "#96a233",
  "rgb": {
    "r": 150,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 66.486,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68145,
    "c": 0.13342,
    "h": 115.3
  },
  "luminance": 0.32564
}

Semantic roles & 50–950 ramp

primary
#96A233
secondary
#7B73BE
accent
#4CDC5C
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96A233

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

Preview Lab → · Contrast checker → · Palette generator →

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