#96AA27#96AA27

#96AA27 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 69.9% C 0.150 H 118.3°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#96AA27
RGBrgb(150, 170, 39)
HSLhsl(69, 63%, 41%)
HSVhsv(69, 77%, 67%)
CMYKcmyk(11.8%, 0%, 77.1%, 33.3%)
CIE-LABlab(66.04, -23.66, 60.17)
CIE-LCHlch(66.04, 64.66, 111.47°)
OKLaboklab(69.92% -0.071 0.1322)
OKLCHoklch(69.92% 0.15 118.3)
XYZxyz(27.3192, 35.3802, 7.3089)
Luminance0.3538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96AA27 #3B27AA
analogous
#AA7C27 #96AA27 #54AA27
triadic
#96AA27 #2796AA #AA2796
tetradic
#96AA27 #27AA7C #3B27AA #AA2754
square
#96AA27 #27AA7C #3B27AA #AA2754
split-complementary
#96AA27 #2754AA #7C27AA
monochromatic
#3E4610 #6A781C #96AA27 #BBD23C #CDDE6E

Accessibility & contrast

On white

2.60
#96AA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#96AA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96AA27
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96AA27#FFFFFF#000000##000000
##96AA271.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A003
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#9FA092
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #96aa27;
/* rgb */ color: rgb(150, 170, 39);
/* oklch */ color: oklch(69.9% 0.150 118.3);
Tailwind
colors: {
  custom: {
    50: '#b8c36c',
    500: '#96aa27',
    950: '#000000',
  },
}
SCSS
$custom: #96aa27;
$custom-light: #b8c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#96aa27",
  "rgb": {
    "r": 150,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 69.16,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69919,
    "c": 0.15009,
    "h": 118.3
  },
  "luminance": 0.3538
}

Semantic roles & 50–950 ramp

primary
#96AA27
secondary
#7769C4
accent
#42E65B
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96AA27

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

Preview Lab → · Contrast checker → · Palette generator →

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