#96A52D#96A52D

#96A52D is a light, vivid yellow. Relative luminance 0.336; OKLCH L 68.8% C 0.141 H 116.5°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#96A52D
RGBrgb(150, 165, 45)
HSLhsl(68, 57%, 41%)
HSVhsv(68, 73%, 65%)
CMYKcmyk(9.1%, 0%, 72.7%, 35.3%)
CIE-LABlab(64.63, -20.88, 56.79)
CIE-LCHlch(64.63, 60.50, 110.18°)
OKLaboklab(68.79% -0.0628 0.1261)
OKLCHoklch(68.79% 0.141 116.5)
XYZxyz(26.5071, 33.5841, 7.5681)
Luminance0.3358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A52D #3C2DA5
analogous
#A5782D #96A52D #5AA52D
triadic
#96A52D #2D96A5 #A52D96
tetradic
#96A52D #2DA578 #3C2DA5 #A52D5A
square
#96A52D #2DA578 #3C2DA5 #A52D5A
split-complementary
#96A52D #2D5AA5 #782DA5
monochromatic
#3F4513 #6A7520 #96A52D #BBCC43 #CCD973

Accessibility & contrast

On white

2.72
#96A52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#96A52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A52D
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A52D#FFFFFF#000000##000000
##96A52D1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C17
Deuteranopia (green-blind)
#AF9E37
Tritanopia (blue-blind)
#A09C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #96a52d;
/* rgb */ color: rgb(150, 165, 45);
/* oklch */ color: oklch(68.8% 0.141 116.5);
Tailwind
colors: {
  custom: {
    50: '#b8bf6f',
    500: '#96a52d',
    950: '#000000',
  },
}
SCSS
$custom: #96a52d;
$custom-light: #b8bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#96a52d",
  "rgb": {
    "r": 150,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 67.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68794,
    "c": 0.14089,
    "h": 116.5
  },
  "luminance": 0.33584
}

Semantic roles & 50–950 ramp

primary
#96A52D
secondary
#786DC1
accent
#47E05B
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #96A52D

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

Preview Lab → · Contrast checker → · Palette generator →

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