#96A12A#96A12A

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

Color values

HEX#96A12A
RGBrgb(150, 161, 42)
HSLhsl(66, 59%, 40%)
HSVhsv(66, 74%, 63%)
CMYKcmyk(6.8%, 0%, 73.9%, 36.9%)
CIE-LABlab(63.46, -19.00, 56.73)
CIE-LCHlch(63.46, 59.83, 108.52°)
OKLaboklab(67.85% -0.0579 0.1255)
OKLCHoklch(67.85% 0.138 114.8)
XYZxyz(25.7412, 32.1414, 7.0379)
Luminance0.3214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A12A #352AA1
analogous
#A1702A #96A12A #5BA12A
triadic
#96A12A #2A96A1 #A12A96
tetradic
#96A12A #2AA170 #352AA1 #A12A5B
square
#96A12A #2AA170 #352AA1 #A12A5B
split-complementary
#96A12A #2A5BA1 #702AA1
monochromatic
#3C4011 #69701D #96A12A #BFCC3C #CFD96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A12A#FFFFFF#000000##000000
##96A12A1.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)
#AD9912
Deuteranopia (green-blind)
#AC9B34
Tritanopia (blue-blind)
#A0978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a12a;
/* rgb */ color: rgb(150, 161, 42);
/* oklch */ color: oklch(67.8% 0.138 114.8);
Tailwind
colors: {
  custom: {
    50: '#b8bc6d',
    500: '#96a12a',
    950: '#000000',
  },
}
SCSS
$custom: #96a12a;
$custom-light: #b8bc6d;
$custom-dark: #000000;
JSON
{
  "hex": "#96a12a",
  "rgb": {
    "r": 150,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 65.546,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67848,
    "c": 0.1382,
    "h": 114.8
  },
  "luminance": 0.32141
}

Semantic roles & 50–950 ramp

primary
#96A12A
secondary
#6F67C0
accent
#46E254
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A12A

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

Preview Lab → · Contrast checker → · Palette generator →

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