#96AF5F#96AF5F

#96AF5F is a light, moderate yellow-green. Relative luminance 0.380; OKLCH L 71.7% C 0.110 H 123.4°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#96AF5F
RGBrgb(150, 175, 95)
HSLhsl(79, 33%, 53%)
HSVhsv(79, 46%, 69%)
CMYKcmyk(14.3%, 0%, 45.7%, 31.4%)
CIE-LABlab(68.00, -21.73, 38.04)
CIE-LCHlch(68.00, 43.81, 119.74°)
OKLaboklab(71.66% -0.0605 0.0917)
OKLCHoklch(71.66% 0.11 123.4)
XYZxyz(29.9732, 37.9701, 16.5741)
Luminance0.3797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AF5F #785FAF
analogous
#AFA05F #96AF5F #6EAF5F
triadic
#96AF5F #5F96AF #AF5F96
tetradic
#96AF5F #5FAFA0 #785FAF #AF5F6E
square
#96AF5F #5FAFA0 #785FAF #AF5F6E
split-complementary
#96AF5F #5F6EAF #A05FAF
monochromatic
#536231 #758B46 #96AF5F #B1C388 #CCD8B1

Accessibility & contrast

On white

2.44
#96AF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#96AF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AF5F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AF5F#FFFFFF#000000##000000
##96AF5F1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A658
Deuteranopia (green-blind)
#B4A663
Tritanopia (blue-blind)
#9BA89C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #96af5f;
/* rgb */ color: rgb(150, 175, 95);
/* oklch */ color: oklch(71.7% 0.110 123.4);
Tailwind
colors: {
  custom: {
    50: '#b6c78e',
    500: '#96af5f',
    950: '#000000',
  },
}
SCSS
$custom: #96af5f;
$custom-light: #b6c78e;
$custom-dark: #000000;
JSON
{
  "hex": "#96af5f",
  "rgb": {
    "r": 150,
    "g": 175,
    "b": 95
  },
  "hsl": {
    "h": 78.75,
    "s": 33.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.71656,
    "c": 0.10988,
    "h": 123.4
  },
  "luminance": 0.3797
}

Semantic roles & 50–950 ramp

primary
#96AF5F
secondary
#AEA4C6
accent
#5EC980
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#11130C
muted
#80827D

Preview Lab

Preview with #96AF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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