#96A62E#96A62E

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

Color values

HEX#96A62E
RGBrgb(150, 166, 46)
HSLhsl(68, 57%, 42%)
HSVhsv(68, 72%, 65%)
CMYKcmyk(9.6%, 0%, 72.3%, 34.9%)
CIE-LABlab(64.93, -21.33, 56.71)
CIE-LCHlch(64.93, 60.59, 110.61°)
OKLaboklab(69.03% -0.064 0.1261)
OKLCHoklch(69.03% 0.141 116.9)
XYZxyz(26.7077, 33.9541, 7.7311)
Luminance0.3395 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A62E #3E2EA6
analogous
#A67A2E #96A62E #5AA62E
triadic
#96A62E #2E96A6 #A62E96
tetradic
#96A62E #2EA67A #3E2EA6 #A62E5A
square
#96A62E #2EA67A #3E2EA6 #A62E5A
split-complementary
#96A62E #2E5AA6 #7A2EA6
monochromatic
#3F4613 #6B7621 #96A62E #BACC46 #CCD976

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A62E#FFFFFF#000000##000000
##96A62E1.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)
#B19D18
Deuteranopia (green-blind)
#B09E38
Tritanopia (blue-blind)
#9F9D8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #96a62e;
/* rgb */ color: rgb(150, 166, 46);
/* oklch */ color: oklch(69.0% 0.141 116.9);
Tailwind
colors: {
  custom: {
    50: '#b8c06f',
    500: '#96a62e',
    950: '#000000',
  },
}
SCSS
$custom: #96a62e;
$custom-light: #b8c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#96a62e",
  "rgb": {
    "r": 150,
    "g": 166,
    "b": 46
  },
  "hsl": {
    "h": 68,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69033,
    "c": 0.14142,
    "h": 116.9
  },
  "luminance": 0.33954
}

Semantic roles & 50–950 ramp

primary
#96A62E
secondary
#7A6FC1
accent
#48E05C
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96A62E

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

Preview Lab → · Contrast checker → · Palette generator →

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