#96A12E#96A12E

#96A12E 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#96A12E
RGBrgb(150, 161, 46)
HSLhsl(66, 56%, 41%)
HSVhsv(66, 71%, 63%)
CMYKcmyk(6.8%, 0%, 71.4%, 36.9%)
CIE-LABlab(63.48, -18.80, 55.30)
CIE-LCHlch(63.48, 58.41, 108.77°)
OKLaboklab(67.88% -0.057 0.1232)
OKLCHoklch(67.88% 0.136 114.8)
XYZxyz(25.8164, 32.1715, 7.4340)
Luminance0.3217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A12E #392EA1
analogous
#A1722E #96A12E #5CA12E
triadic
#96A12E #2E96A1 #A12E96
tetradic
#96A12E #2EA172 #392EA1 #A12E5C
square
#96A12E #2EA172 #392EA1 #A12E5C
split-complementary
#96A12E #2E5CA1 #722EA1
monochromatic
#3D4213 #6A7120 #96A12E #BCC943 #CDD773

Accessibility & contrast

On white

2.82
#96A12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A12E#FFFFFF#000000##000000
##96A12E1.002.827.437.43
#FFFFFF2.821.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991A
Deuteranopia (green-blind)
#AC9B37
Tritanopia (blue-blind)
#A0988A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a12e;
/* rgb */ color: rgb(150, 161, 46);
/* oklch */ color: oklch(67.9% 0.136 114.8);
Tailwind
colors: {
  custom: {
    50: '#b8bc6f',
    500: '#96a12e',
    950: '#000000',
  },
}
SCSS
$custom: #96a12e;
$custom-light: #b8bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#96a12e",
  "rgb": {
    "r": 150,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 65.739,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67876,
    "c": 0.13568,
    "h": 114.8
  },
  "luminance": 0.32171
}

Semantic roles & 50–950 ramp

primary
#96A12E
secondary
#746CBE
accent
#49DF57
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #96A12E

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

Preview Lab → · Contrast checker → · Palette generator →

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