#96A017#96A017

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

Color values

HEX#96A017
RGBrgb(150, 160, 23)
HSLhsl(64, 75%, 36%)
HSVhsv(64, 86%, 63%)
CMYKcmyk(6.2%, 0%, 85.6%, 37.3%)
CIE-LABlab(63.08, -19.23, 62.00)
CIE-LCHlch(63.08, 64.91, 107.23°)
OKLaboklab(67.52% -0.06 0.1334)
OKLCHoklch(67.52% 0.146 114.2)
XYZxyz(25.3040, 31.6880, 5.5939)
Luminance0.3169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A017 #2117A0
analogous
#A06517 #96A017 #51A017
triadic
#96A017 #1796A0 #A01796
tetradic
#96A017 #17A065 #2117A0 #A01751
square
#96A017 #17A065 #2117A0 #A01751
split-complementary
#96A017 #1751A0 #6517A0
monochromatic
#323508 #646A0F #96A017 #C8D61F #DAE54C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #96a017;
/* rgb */ color: rgb(150, 160, 23);
/* oklch */ color: oklch(67.5% 0.146 114.2);
Tailwind
colors: {
  custom: {
    50: '#b9bb65',
    500: '#96a017',
    950: '#000000',
  },
}
SCSS
$custom: #96a017;
$custom-light: #b9bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#96a017",
  "rgb": {
    "r": 150,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 64.38,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.67519,
    "c": 0.14622,
    "h": 114.2
  },
  "luminance": 0.31688
}

Semantic roles & 50–950 ramp

primary
#96A017
secondary
#554CC7
accent
#36F144
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #96A017

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

Preview Lab → · Contrast checker → · Palette generator →

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