#96AF2E#96AF2E

#96AF2E is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 71.1% C 0.152 H 120.1°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#96AF2E
RGBrgb(150, 175, 46)
HSLhsl(72, 58%, 43%)
HSVhsv(72, 74%, 69%)
CMYKcmyk(14.3%, 0%, 73.7%, 31.4%)
CIE-LABlab(67.53, -25.78, 59.23)
CIE-LCHlch(67.53, 64.60, 113.52°)
OKLaboklab(71.13% -0.0763 0.1314)
OKLCHoklch(71.13% 0.152 120.1)
XYZxyz(28.4013, 37.3413, 8.2956)
Luminance0.3734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AF2E #472EAF
analogous
#AF872E #96AF2E #55AF2E
triadic
#96AF2E #2E96AF #AF2E96
tetradic
#96AF2E #2EAF87 #472EAF #AF2E55
square
#96AF2E #2EAF87 #472EAF #AF2E55
split-complementary
#96AF2E #2E55AF #872EAF
monochromatic
#434E15 #6C7F21 #96AF2E #B6D04B #C9DC7B

Accessibility & contrast

On white

2.48
#96AF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#96AF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AF2E
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AF2E#FFFFFF#000000##000000
##96AF2E1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA514
Deuteranopia (green-blind)
#B7A539
Tritanopia (blue-blind)
#9FA696
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #96af2e;
/* rgb */ color: rgb(150, 175, 46);
/* oklch */ color: oklch(71.1% 0.152 120.1);
Tailwind
colors: {
  custom: {
    50: '#b8c670',
    500: '#96af2e',
    950: '#000000',
  },
}
SCSS
$custom: #96af2e;
$custom-light: #b8c670;
$custom-dark: #000000;
JSON
{
  "hex": "#96af2e",
  "rgb": {
    "r": 150,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 71.628,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.7113,
    "c": 0.15198,
    "h": 120.1
  },
  "luminance": 0.37341
}

Semantic roles & 50–950 ramp

primary
#96AF2E
secondary
#8474C5
accent
#46E264
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #96AF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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