#96A12D#96A12D

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

Color values

HEX#96A12D
RGBrgb(150, 161, 45)
HSLhsl(66, 56%, 40%)
HSVhsv(66, 72%, 63%)
CMYKcmyk(6.8%, 0%, 72%, 36.9%)
CIE-LABlab(63.48, -18.85, 55.67)
CIE-LCHlch(63.48, 58.77, 108.71°)
OKLaboklab(67.87% -0.0572 0.1238)
OKLCHoklch(67.87% 0.136 114.8)
XYZxyz(25.7969, 32.1637, 7.3314)
Luminance0.3216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A12D #382DA1
analogous
#A1722D #96A12D #5CA12D
triadic
#96A12D #2D96A1 #A12D96
tetradic
#96A12D #2DA172 #382DA1 #A12D5C
square
#96A12D #2DA172 #382DA1 #A12D5C
split-complementary
#96A12D #2D5CA1 #722DA1
monochromatic
#3D4112 #697120 #96A12D #BDCA41 #CED771

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A12D#FFFFFF#000000##000000
##96A12D1.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)
#AD9918
Deuteranopia (green-blind)
#AC9B36
Tritanopia (blue-blind)
#A0978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a12d;
/* rgb */ color: rgb(150, 161, 45);
/* oklch */ color: oklch(67.9% 0.136 114.8);
Tailwind
colors: {
  custom: {
    50: '#b8bc6e',
    500: '#96a12d',
    950: '#000000',
  },
}
SCSS
$custom: #96a12d;
$custom-light: #b8bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#96a12d",
  "rgb": {
    "r": 150,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 65.69,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.67869,
    "c": 0.13633,
    "h": 114.8
  },
  "luminance": 0.32163
}

Semantic roles & 50–950 ramp

primary
#96A12D
secondary
#736BBF
accent
#48E057
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #96A12D

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

Preview Lab → · Contrast checker → · Palette generator →

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