#96A52F#96A52F

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

Color values

HEX#96A52F
RGBrgb(150, 165, 47)
HSLhsl(68, 56%, 42%)
HSVhsv(68, 72%, 65%)
CMYKcmyk(9.1%, 0%, 71.5%, 35.3%)
CIE-LABlab(64.64, -20.77, 56.06)
CIE-LCHlch(64.64, 59.79, 110.33°)
OKLaboklab(68.81% -0.0623 0.1249)
OKLCHoklch(68.81% 0.14 116.5)
XYZxyz(26.5465, 33.5999, 7.7757)
Luminance0.3360 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A52F #3E2FA5
analogous
#A5792F #96A52F #5BA52F
triadic
#96A52F #2F96A5 #A52F96
tetradic
#96A52F #2FA579 #3E2FA5 #A52F5B
square
#96A52F #2FA579 #3E2FA5 #A52F5B
split-complementary
#96A52F #2F5BA5 #792FA5
monochromatic
#3F4614 #6B7521 #96A52F #BACB47 #CCD876

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A52F#FFFFFF#000000##000000
##96A52F1.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)
#B09C1A
Deuteranopia (green-blind)
#AF9E38
Tritanopia (blue-blind)
#9F9C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #96a52f;
/* rgb */ color: rgb(150, 165, 47);
/* oklch */ color: oklch(68.8% 0.140 116.5);
Tailwind
colors: {
  custom: {
    50: '#b8bf70',
    500: '#96a52f',
    950: '#000000',
  },
}
SCSS
$custom: #96a52f;
$custom-light: #b8bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#96a52f",
  "rgb": {
    "r": 150,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 67.627,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68808,
    "c": 0.13962,
    "h": 116.5
  },
  "luminance": 0.336
}

Semantic roles & 50–950 ramp

primary
#96A52F
secondary
#7A70C0
accent
#49DF5C
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96A52F

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

Preview Lab → · Contrast checker → · Palette generator →

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