#96A42D#96A42D

#96A42D is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.6% C 0.140 H 116.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#96A42D
RGBrgb(150, 164, 45)
HSLhsl(67, 57%, 41%)
HSVhsv(67, 73%, 64%)
CMYKcmyk(8.5%, 0%, 72.6%, 35.7%)
CIE-LABlab(64.34, -20.37, 56.51)
CIE-LCHlch(64.34, 60.07, 109.83°)
OKLaboklab(68.56% -0.0614 0.1255)
OKLCHoklch(68.56% 0.14 116.1)
XYZxyz(26.3275, 33.2248, 7.5082)
Luminance0.3322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A42D #3B2DA4
analogous
#A4762D #96A42D #5AA42D
triadic
#96A42D #2D96A4 #A42D96
tetradic
#96A42D #2DA476 #3B2DA4 #A42D5A
square
#96A42D #2DA476 #3B2DA4 #A42D5A
split-complementary
#96A42D #2D5AA4 #762DA4
monochromatic
#3E4413 #6A7420 #96A42D #BBCB43 #CDD973

Accessibility & contrast

On white

2.75
#96A42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#96A42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A42D
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A42D#FFFFFF#000000##000000
##96A42D1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B17
Deuteranopia (green-blind)
#AE9D37
Tritanopia (blue-blind)
#A09B8D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #96a42d;
/* rgb */ color: rgb(150, 164, 45);
/* oklch */ color: oklch(68.6% 0.140 116.1);
Tailwind
colors: {
  custom: {
    50: '#b8be6e',
    500: '#96a42d',
    950: '#000000',
  },
}
SCSS
$custom: #96a42d;
$custom-light: #b8be6e;
$custom-dark: #000000;
JSON
{
  "hex": "#96a42d",
  "rgb": {
    "r": 150,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 67.059,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68563,
    "c": 0.13975,
    "h": 116.1
  },
  "luminance": 0.33224
}

Semantic roles & 50–950 ramp

primary
#96A42D
secondary
#776DC0
accent
#48E05A
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #96A42D

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

Preview Lab → · Contrast checker → · Palette generator →

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