#96A015#96A015

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

Color values

HEX#96A015
RGBrgb(150, 160, 21)
HSLhsl(64, 77%, 35%)
HSVhsv(64, 87%, 63%)
CMYKcmyk(6.2%, 0%, 86.9%, 37.3%)
CIE-LABlab(63.08, -19.28, 62.44)
CIE-LCHlch(63.08, 65.35, 107.16°)
OKLaboklab(67.51% -0.0603 0.134)
OKLCHoklch(67.51% 0.147 114.2)
XYZxyz(25.2847, 31.6803, 5.4923)
Luminance0.3168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A015 #1F15A0
analogous
#A06515 #96A015 #50A015
triadic
#96A015 #1596A0 #A01596
tetradic
#96A015 #15A065 #1F15A0 #A01550
square
#96A015 #15A065 #1F15A0 #A01550
split-complementary
#96A015 #1550A0 #6515A0
monochromatic
#313407 #636A0E #96A015 #C9D61C #DCE748

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A015#FFFFFF#000000##000000
##96A0151.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)
#AC9A25
Tritanopia (blue-blind)
#A19688
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #96a015;
/* rgb */ color: rgb(150, 160, 21);
/* oklch */ color: oklch(67.5% 0.147 114.2);
Tailwind
colors: {
  custom: {
    50: '#b9bb64',
    500: '#96a015',
    950: '#000000',
  },
}
SCSS
$custom: #96a015;
$custom-light: #b9bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#96a015",
  "rgb": {
    "r": 150,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 64.317,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.67512,
    "c": 0.14692,
    "h": 114.2
  },
  "luminance": 0.3168
}

Semantic roles & 50–950 ramp

primary
#96A015
secondary
#5249C8
accent
#34F342
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #96A015

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

Preview Lab → · Contrast checker → · Palette generator →

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