#96A020#96A020

#96A020 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#96A020
RGBrgb(150, 160, 32)
HSLhsl(65, 67%, 38%)
HSVhsv(65, 80%, 63%)
CMYKcmyk(6.2%, 0%, 80%, 37.3%)
CIE-LABlab(63.12, -18.93, 59.67)
CIE-LCHlch(63.12, 62.60, 107.60°)
OKLaboklab(67.56% -0.0585 0.1299)
OKLCHoklch(67.56% 0.142 114.3)
XYZxyz(25.4100, 31.7304, 6.1523)
Luminance0.3173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A020 #2A20A0
analogous
#A06A20 #96A020 #56A020
triadic
#96A020 #2096A0 #A02096
tetradic
#96A020 #20A06A #2A20A0 #A02056
square
#96A020 #20A06A #2A20A0 #A02056
split-complementary
#96A020 #2056A0 #6A20A0
monochromatic
#363A0C #666D16 #96A020 #C6D32A #D4DE5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A020#FFFFFF#000000##000000
##96A0201.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)
#AC9A2C
Tritanopia (blue-blind)
#A09689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #96a020;
/* rgb */ color: rgb(150, 160, 32);
/* oklch */ color: oklch(67.6% 0.142 114.3);
Tailwind
colors: {
  custom: {
    50: '#b8bb68',
    500: '#96a020',
    950: '#000000',
  },
}
SCSS
$custom: #96a020;
$custom-light: #b8bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#96a020",
  "rgb": {
    "r": 150,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 64.688,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.67559,
    "c": 0.14248,
    "h": 114.3
  },
  "luminance": 0.3173
}

Semantic roles & 50–950 ramp

primary
#96A020
secondary
#6159C3
accent
#3EEA4C
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #96A020

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

Preview Lab → · Contrast checker → · Palette generator →

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