#96A12C#96A12C

#96A12C is a light, vivid yellow. Relative luminance 0.322; OKLCH L 67.9% C 0.137 H 114.8°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#96A12C
RGBrgb(150, 161, 44)
HSLhsl(66, 57%, 40%)
HSVhsv(66, 73%, 63%)
CMYKcmyk(6.8%, 0%, 72.7%, 36.9%)
CIE-LABlab(63.47, -18.90, 56.03)
CIE-LCHlch(63.47, 59.13, 108.64°)
OKLaboklab(67.86% -0.0574 0.1243)
OKLCHoklch(67.86% 0.137 114.8)
XYZxyz(25.7779, 32.1561, 7.2312)
Luminance0.3216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A12C #372CA1
analogous
#A1712C #96A12C #5BA12C
triadic
#96A12C #2C96A1 #A12C96
tetradic
#96A12C #2CA171 #372CA1 #A12C5B
square
#96A12C #2CA171 #372CA1 #A12C5B
split-complementary
#96A12C #2C5BA1 #712CA1
monochromatic
#3C4112 #69711F #96A12C #BECB40 #CED870

Accessibility & contrast

On white

2.83
#96A12C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#96A12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A12C
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A12C#FFFFFF#000000##000000
##96A12C1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9916
Deuteranopia (green-blind)
#AC9B35
Tritanopia (blue-blind)
#A0978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a12c;
/* rgb */ color: rgb(150, 161, 44);
/* oklch */ color: oklch(67.9% 0.137 114.8);
Tailwind
colors: {
  custom: {
    50: '#b8bc6e',
    500: '#96a12c',
    950: '#000000',
  },
}
SCSS
$custom: #96a12c;
$custom-light: #b8bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#96a12c",
  "rgb": {
    "r": 150,
    "g": 161,
    "b": 44
  },
  "hsl": {
    "h": 65.641,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67862,
    "c": 0.13697,
    "h": 114.8
  },
  "luminance": 0.32156
}

Semantic roles & 50–950 ramp

primary
#96A12C
secondary
#726ABF
accent
#47E056
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #96A12C

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

Preview Lab → · Contrast checker → · Palette generator →

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