#96A231#96A231

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

Color values

HEX#96A231
RGBrgb(150, 162, 49)
HSLhsl(66, 54%, 41%)
HSVhsv(66, 70%, 64%)
CMYKcmyk(7.4%, 0%, 69.8%, 36.5%)
CIE-LABlab(63.79, -19.14, 54.46)
CIE-LCHlch(63.79, 57.72, 109.36°)
OKLaboklab(68.13% -0.0576 0.1219)
OKLCHoklch(68.13% 0.135 115.3)
XYZxyz(26.0530, 32.5469, 7.8149)
Luminance0.3255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A231 #3D31A2
analogous
#A27631 #96A231 #5EA231
triadic
#96A231 #3196A2 #A23196
tetradic
#96A231 #31A276 #3D31A2 #A2315E
square
#96A231 #31A276 #3D31A2 #A2315E
split-complementary
#96A231 #315EA2 #7631A2
monochromatic
#3F4415 #6A7323 #96A231 #BAC848 #CCD677

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A231#FFFFFF#000000##000000
##96A2311.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)
#AD9A1F
Deuteranopia (green-blind)
#AD9B3A
Tritanopia (blue-blind)
#A0998C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #96a231;
/* rgb */ color: rgb(150, 162, 49);
/* oklch */ color: oklch(68.1% 0.135 115.3);
Tailwind
colors: {
  custom: {
    50: '#b8bd70',
    500: '#96a231',
    950: '#000000',
  },
}
SCSS
$custom: #96a231;
$custom-light: #b8bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#96a231",
  "rgb": {
    "r": 150,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 66.372,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68129,
    "c": 0.13481,
    "h": 115.3
  },
  "luminance": 0.32546
}

Semantic roles & 50–950 ramp

primary
#96A231
secondary
#7971BE
accent
#4BDD5A
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96A231

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

Preview Lab → · Contrast checker → · Palette generator →

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