#96A62D#96A62D

#96A62D is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.0% C 0.142 H 116.9°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#96A62D
RGBrgb(150, 166, 45)
HSLhsl(68, 57%, 41%)
HSVhsv(68, 73%, 65%)
CMYKcmyk(9.6%, 0%, 72.9%, 34.9%)
CIE-LABlab(64.92, -21.38, 57.07)
CIE-LCHlch(64.92, 60.94, 110.54°)
OKLaboklab(69.03% -0.0642 0.1267)
OKLCHoklch(69.03% 0.142 116.9)
XYZxyz(26.6882, 33.9463, 7.6285)
Luminance0.3395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A62D #3D2DA6
analogous
#A67A2D #96A62D #5AA62D
triadic
#96A62D #2D96A6 #A62D96
tetradic
#96A62D #2DA67A #3D2DA6 #A62D5A
square
#96A62D #2DA67A #3D2DA6 #A62D5A
split-complementary
#96A62D #2D5AA6 #7A2DA6
monochromatic
#3F4613 #6A7620 #96A62D #BACC44 #CCD974

Accessibility & contrast

On white

2.70
#96A62D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#96A62D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A62D
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A62D#FFFFFF#000000##000000
##96A62D1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D16
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#9F9D8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #96a62d;
/* rgb */ color: rgb(150, 166, 45);
/* oklch */ color: oklch(69.0% 0.142 116.9);
Tailwind
colors: {
  custom: {
    50: '#b8c06f',
    500: '#96a62d',
    950: '#000000',
  },
}
SCSS
$custom: #96a62d;
$custom-light: #b8c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#96a62d",
  "rgb": {
    "r": 150,
    "g": 166,
    "b": 45
  },
  "hsl": {
    "h": 67.934,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69026,
    "c": 0.14205,
    "h": 116.9
  },
  "luminance": 0.33946
}

Semantic roles & 50–950 ramp

primary
#96A62D
secondary
#796EC1
accent
#47E15B
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96A62D

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

Preview Lab → · Contrast checker → · Palette generator →

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