#96A02C#96A02C

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

Color values

HEX#96A02C
RGBrgb(150, 160, 44)
HSLhsl(65, 57%, 40%)
HSVhsv(65, 73%, 63%)
CMYKcmyk(6.2%, 0%, 72.5%, 37.3%)
CIE-LABlab(63.18, -18.39, 55.75)
CIE-LCHlch(63.18, 58.70, 108.26°)
OKLaboklab(67.63% -0.056 0.1238)
OKLCHoklch(67.63% 0.136 114.4)
XYZxyz(25.6038, 31.8080, 7.1732)
Luminance0.3181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A02C #362CA0
analogous
#A0702C #96A02C #5CA02C
triadic
#96A02C #2C96A0 #A02C96
tetradic
#96A02C #2CA070 #362CA0 #A02C5C
square
#96A02C #2CA070 #362CA0 #A02C5C
split-complementary
#96A02C #2C5CA0 #702CA0
monochromatic
#3C4012 #69701F #96A02C #BECA3F #CED76F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A02C#FFFFFF#000000##000000
##96A02C1.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)
#AC9817
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#A09689
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #96a02c;
/* rgb */ color: rgb(150, 160, 44);
/* oklch */ color: oklch(67.6% 0.136 114.4);
Tailwind
colors: {
  custom: {
    50: '#b8bc6d',
    500: '#96a02c',
    950: '#000000',
  },
}
SCSS
$custom: #96a02c;
$custom-light: #b8bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#96a02c",
  "rgb": {
    "r": 150,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 65.172,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.67631,
    "c": 0.13584,
    "h": 114.4
  },
  "luminance": 0.31807
}

Semantic roles & 50–950 ramp

primary
#96A02C
secondary
#7169BF
accent
#48E055
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #96A02C

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

Preview Lab → · Contrast checker → · Palette generator →

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