#96A02B#96A02B

#96A02B is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.6% C 0.136 H 114.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#96A02B
RGBrgb(150, 160, 43)
HSLhsl(65, 58%, 40%)
HSVhsv(65, 73%, 63%)
CMYKcmyk(6.2%, 0%, 73.1%, 37.3%)
CIE-LABlab(63.18, -18.44, 56.11)
CIE-LCHlch(63.18, 59.06, 108.20°)
OKLaboklab(67.62% -0.0563 0.1243)
OKLCHoklch(67.62% 0.136 114.3)
XYZxyz(25.5853, 31.8005, 7.0754)
Luminance0.3180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A02B #352BA0
analogous
#A06F2B #96A02B #5CA02B
triadic
#96A02B #2B96A0 #A02B96
tetradic
#96A02B #2BA06F #352BA0 #A02B5C
square
#96A02B #2BA06F #352BA0 #A02B5C
split-complementary
#96A02B #2B5CA0 #6F2BA0
monochromatic
#3C4011 #69701E #96A02B #BFCB3D #CFD86E

Accessibility & contrast

On white

2.85
#96A02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#96A02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A02B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A02B#FFFFFF#000000##000000
##96A02B1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9815
Deuteranopia (green-blind)
#AB9A34
Tritanopia (blue-blind)
#A09689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #96a02b;
/* rgb */ color: rgb(150, 160, 43);
/* oklch */ color: oklch(67.6% 0.136 114.3);
Tailwind
colors: {
  custom: {
    50: '#b8bb6d',
    500: '#96a02b',
    950: '#000000',
  },
}
SCSS
$custom: #96a02b;
$custom-light: #b8bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#96a02b",
  "rgb": {
    "r": 150,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 65.128,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67624,
    "c": 0.13647,
    "h": 114.3
  },
  "luminance": 0.318
}

Semantic roles & 50–950 ramp

primary
#96A02B
secondary
#6F68BF
accent
#47E154
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #96A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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