#96AB27#96AB27

#96AB27 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.2% C 0.151 H 118.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#96AB27
RGBrgb(150, 171, 39)
HSLhsl(70, 63%, 41%)
HSVhsv(70, 77%, 67%)
CMYKcmyk(12.3%, 0%, 77.2%, 32.9%)
CIE-LABlab(66.33, -24.16, 60.44)
CIE-LCHlch(66.33, 65.09, 111.78°)
OKLaboklab(70.15% -0.0724 0.1328)
OKLCHoklch(70.15% 0.151 118.6)
XYZxyz(27.5074, 35.7566, 7.3717)
Luminance0.3576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AB27 #3C27AB
analogous
#AB7E27 #96AB27 #54AB27
triadic
#96AB27 #2796AB #AB2796
tetradic
#96AB27 #27AB7E #3C27AB #AB2754
square
#96AB27 #27AB7E #3C27AB #AB2754
split-complementary
#96AB27 #2754AB #7E27AB
monochromatic
#3F4710 #6A791C #96AB27 #BBD33D #CCDE6E

Accessibility & contrast

On white

2.58
#96AB27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#96AB27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AB27
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AB27#FFFFFF#000000##000000
##96AB271.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A102
Deuteranopia (green-blind)
#B4A233
Tritanopia (blue-blind)
#9FA192
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #96ab27;
/* rgb */ color: rgb(150, 171, 39);
/* oklch */ color: oklch(70.2% 0.151 118.6);
Tailwind
colors: {
  custom: {
    50: '#b8c46c',
    500: '#96ab27',
    950: '#000000',
  },
}
SCSS
$custom: #96ab27;
$custom-light: #b8c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#96ab27",
  "rgb": {
    "r": 150,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 69.545,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.70152,
    "c": 0.15124,
    "h": 118.6
  },
  "luminance": 0.35756
}

Semantic roles & 50–950 ramp

primary
#96AB27
secondary
#7869C5
accent
#42E65C
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96AB27

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

Preview Lab → · Contrast checker → · Palette generator →

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