#96A127#96A127

#96A127 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 67.8% C 0.140 H 114.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#96A127
RGBrgb(150, 161, 39)
HSLhsl(65, 61%, 39%)
HSVhsv(65, 76%, 63%)
CMYKcmyk(6.8%, 0%, 75.8%, 36.9%)
CIE-LABlab(63.44, -19.15, 57.75)
CIE-LCHlch(63.44, 60.84, 108.34°)
OKLaboklab(67.83% -0.0586 0.1271)
OKLCHoklch(67.83% 0.14 114.7)
XYZxyz(25.6895, 32.1207, 6.7657)
Luminance0.3212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A127 #3227A1
analogous
#A16F27 #96A127 #59A127
triadic
#96A127 #2796A1 #A12796
tetradic
#96A127 #27A16F #3227A1 #A12759
square
#96A127 #27A16F #3227A1 #A12759
split-complementary
#96A127 #2759A1 #6F27A1
monochromatic
#3A3E0F #68701B #96A127 #C1CE37 #D0DA68

Accessibility & contrast

On white

2.83
#96A127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#96A127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A127
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A127#FFFFFF#000000##000000
##96A1271.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990A
Deuteranopia (green-blind)
#AC9B32
Tritanopia (blue-blind)
#A0978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a127;
/* rgb */ color: rgb(150, 161, 39);
/* oklch */ color: oklch(67.8% 0.140 114.7);
Tailwind
colors: {
  custom: {
    50: '#b8bc6b',
    500: '#96a127',
    950: '#000000',
  },
}
SCSS
$custom: #96a127;
$custom-light: #b8bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#96a127",
  "rgb": {
    "r": 150,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 65.41,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.67829,
    "c": 0.13994,
    "h": 114.7
  },
  "luminance": 0.3212
}

Semantic roles & 50–950 ramp

primary
#96A127
secondary
#6C63C0
accent
#44E452
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A127

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

Preview Lab → · Contrast checker → · Palette generator →

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