#96A727#96A727

#96A727 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.2% C 0.147 H 117.2°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#96A727
RGBrgb(150, 167, 39)
HSLhsl(68, 62%, 40%)
HSVhsv(68, 77%, 65%)
CMYKcmyk(10.2%, 0%, 76.6%, 34.5%)
CIE-LABlab(65.17, -22.17, 59.37)
CIE-LCHlch(65.17, 63.37, 110.48°)
OKLaboklab(69.22% -0.0669 0.1305)
OKLCHoklch(69.22% 0.147 117.2)
XYZxyz(26.7633, 34.2683, 7.1236)
Luminance0.3427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A727 #3827A7
analogous
#A77827 #96A727 #56A727
triadic
#96A727 #2796A7 #A72796
tetradic
#96A727 #27A778 #3827A7 #A72756
square
#96A727 #27A778 #3827A7 #A72756
split-complementary
#96A727 #2756A7 #7827A7
monochromatic
#3D4410 #69751B #96A727 #BDD13A #CEDD6C

Accessibility & contrast

On white

2.67
#96A727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#96A727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A727
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A727#FFFFFF#000000##000000
##96A7271.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E05
Deuteranopia (green-blind)
#B19F33
Tritanopia (blue-blind)
#A09D8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #96a727;
/* rgb */ color: rgb(150, 167, 39);
/* oklch */ color: oklch(69.2% 0.147 117.2);
Tailwind
colors: {
  custom: {
    50: '#b8c16c',
    500: '#96a727',
    950: '#000000',
  },
}
SCSS
$custom: #96a727;
$custom-light: #b8c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#96a727",
  "rgb": {
    "r": 150,
    "g": 167,
    "b": 39
  },
  "hsl": {
    "h": 67.969,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.6922,
    "c": 0.14668,
    "h": 117.2
  },
  "luminance": 0.34268
}

Semantic roles & 50–950 ramp

primary
#96A727
secondary
#7367C3
accent
#43E558
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A727

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

Preview Lab → · Contrast checker → · Palette generator →

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