#96A01C#96A01C

#96A01C is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.5% C 0.144 H 114.2°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#96A01C
RGBrgb(150, 160, 28)
HSLhsl(65, 70%, 37%)
HSVhsv(65, 83%, 63%)
CMYKcmyk(6.2%, 0%, 82.5%, 37.3%)
CIE-LABlab(63.10, -19.07, 60.77)
CIE-LCHlch(63.10, 63.70, 107.42°)
OKLaboklab(67.54% -0.0592 0.1316)
OKLCHoklch(67.54% 0.144 114.2)
XYZxyz(25.3589, 31.7100, 5.8832)
Luminance0.3171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A01C #261CA0
analogous
#A0681C #96A01C #54A01C
triadic
#96A01C #1C96A0 #A01C96
tetradic
#96A01C #1CA068 #261CA0 #A01C54
square
#96A01C #1CA068 #261CA0 #A01C54
split-complementary
#96A01C #1C54A0 #681CA0
monochromatic
#34380A #656C13 #96A01C #C7D425 #D7E155

Accessibility & contrast

On white

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

On black

7.34
#96A01C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A01C
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A01C#FFFFFF#000000##000000
##96A01C1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96a01c;
/* rgb */ color: rgb(150, 160, 28);
/* oklch */ color: oklch(67.5% 0.144 114.2);
Tailwind
colors: {
  custom: {
    50: '#b9bb66',
    500: '#96a01c',
    950: '#000000',
  },
}
SCSS
$custom: #96a01c;
$custom-light: #b9bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#96a01c",
  "rgb": {
    "r": 150,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 64.545,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6754,
    "c": 0.14427,
    "h": 114.2
  },
  "luminance": 0.31709
}

Semantic roles & 50–950 ramp

primary
#96A01C
secondary
#5C53C4
accent
#3BED48
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #96A01C

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

Preview Lab → · Contrast checker → · Palette generator →

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