#96A021#96A021

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

Color values

HEX#96A021
RGBrgb(150, 160, 33)
HSLhsl(65, 66%, 38%)
HSVhsv(65, 79%, 63%)
CMYKcmyk(6.2%, 0%, 79.4%, 37.3%)
CIE-LABlab(63.12, -18.89, 59.37)
CIE-LCHlch(63.12, 62.31, 107.65°)
OKLaboklab(67.56% -0.0584 0.1295)
OKLCHoklch(67.56% 0.142 114.3)
XYZxyz(25.4238, 31.7360, 6.2249)
Luminance0.3174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A021 #2B21A0
analogous
#A06A21 #96A021 #57A021
triadic
#96A021 #2196A0 #A02196
tetradic
#96A021 #21A06A #2B21A0 #A02157
square
#96A021 #21A06A #2B21A0 #A02157
split-complementary
#96A021 #2157A0 #6A21A0
monochromatic
#373B0C #666D17 #96A021 #C6D32B #D4DE5E

Accessibility & contrast

On white

2.86
#96A021 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#96A021 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A021
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A021#FFFFFF#000000##000000
##96A0211.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96a021;
/* rgb */ color: rgb(150, 160, 33);
/* oklch */ color: oklch(67.6% 0.142 114.3);
Tailwind
colors: {
  custom: {
    50: '#b8bb68',
    500: '#96a021',
    950: '#000000',
  },
}
SCSS
$custom: #96a021;
$custom-light: #b8bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#96a021",
  "rgb": {
    "r": 150,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 64.724,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67564,
    "c": 0.142,
    "h": 114.3
  },
  "luminance": 0.31735
}

Semantic roles & 50–950 ramp

primary
#96A021
secondary
#635BC2
accent
#3FE94C
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #96A021

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

Preview Lab → · Contrast checker → · Palette generator →

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