#96A230#96A230

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

Color values

HEX#96A230
RGBrgb(150, 162, 48)
HSLhsl(66, 54%, 41%)
HSVhsv(66, 70%, 64%)
CMYKcmyk(7.4%, 0%, 70.4%, 36.5%)
CIE-LABlab(63.79, -19.19, 54.84)
CIE-LCHlch(63.79, 58.10, 109.29°)
OKLaboklab(68.12% -0.0579 0.1225)
OKLCHoklch(68.12% 0.136 115.3)
XYZxyz(26.0322, 32.5385, 7.7049)
Luminance0.3254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A230 #3C30A2
analogous
#A27530 #96A230 #5DA230
triadic
#96A230 #3096A2 #A23096
tetradic
#96A230 #30A275 #3C30A2 #A2305D
square
#96A230 #30A275 #3C30A2 #A2305D
split-complementary
#96A230 #305DA2 #7530A2
monochromatic
#3F4414 #6A7322 #96A230 #BBC847 #CCD676

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A230#FFFFFF#000000##000000
##96A2301.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)
#AE9A1D
Deuteranopia (green-blind)
#AD9B39
Tritanopia (blue-blind)
#A0998C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a230;
/* rgb */ color: rgb(150, 162, 48);
/* oklch */ color: oklch(68.1% 0.136 115.3);
Tailwind
colors: {
  custom: {
    50: '#b8bd70',
    500: '#96a230',
    950: '#000000',
  },
}
SCSS
$custom: #96a230;
$custom-light: #b8bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#96a230",
  "rgb": {
    "r": 150,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 66.316,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68122,
    "c": 0.1355,
    "h": 115.3
  },
  "luminance": 0.32538
}

Semantic roles & 50–950 ramp

primary
#96A230
secondary
#786FBE
accent
#4ADE5A
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96A230

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

Preview Lab → · Contrast checker → · Palette generator →

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