#96A516#96A516

#96A516 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 68.7% C 0.152 H 116.2°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#96A516
RGBrgb(150, 165, 22)
HSLhsl(66, 76%, 37%)
HSVhsv(66, 87%, 65%)
CMYKcmyk(9.1%, 0%, 86.7%, 35.3%)
CIE-LABlab(64.53, -21.78, 63.43)
CIE-LCHlch(64.53, 67.06, 108.95°)
OKLaboklab(68.68% -0.067 0.1363)
OKLCHoklch(68.68% 0.152 116.2)
XYZxyz(26.1784, 33.4526, 5.8369)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A516 #2516A5
analogous
#A56D16 #96A516 #4EA516
triadic
#96A516 #1696A5 #A51696
tetradic
#96A516 #16A56D #2516A5 #A5164E
square
#96A516 #16A56D #2516A5 #A5164E
split-complementary
#96A516 #164EA5 #6D16A5
monochromatic
#343908 #656F0F #96A516 #C7DB1D #D7E74E

Accessibility & contrast

On white

2.73
#96A516 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#96A516 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A516
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A516#FFFFFF#000000##000000
##96A5161.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#B09D27
Tritanopia (blue-blind)
#A09B8C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #96a516;
/* rgb */ color: rgb(150, 165, 22);
/* oklch */ color: oklch(68.7% 0.152 116.2);
Tailwind
colors: {
  custom: {
    50: '#b9bf65',
    500: '#96a516',
    950: '#000000',
  },
}
SCSS
$custom: #96a516;
$custom-light: #b9bf65;
$custom-dark: #000000;
JSON
{
  "hex": "#96a516",
  "rgb": {
    "r": 150,
    "g": 165,
    "b": 22
  },
  "hsl": {
    "h": 66.294,
    "s": 76.471,
    "l": 36.667
  },
  "oklch": {
    "l": 0.68676,
    "c": 0.15189,
    "h": 116.2
  },
  "luminance": 0.33452
}

Semantic roles & 50–950 ramp

primary
#96A516
secondary
#5B4EC9
accent
#35F349
background
#FBFBF6
surface
#F7F7EB
border
#D0D0C6
text
#121206
muted
#81817A

Preview Lab

Preview with #96A516

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

Preview Lab → · Contrast checker → · Palette generator →

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