#96A128#96A128

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

Color values

HEX#96A128
RGBrgb(150, 161, 40)
HSLhsl(65, 60%, 39%)
HSVhsv(65, 75%, 63%)
CMYKcmyk(6.8%, 0%, 75.2%, 36.9%)
CIE-LABlab(63.45, -19.10, 57.42)
CIE-LCHlch(63.45, 60.51, 108.40°)
OKLaboklab(67.84% -0.0584 0.1266)
OKLCHoklch(67.84% 0.139 114.8)
XYZxyz(25.7063, 32.1274, 6.8541)
Luminance0.3213 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A128 #3328A1
analogous
#A17028 #96A128 #59A128
triadic
#96A128 #2896A1 #A12896
tetradic
#96A128 #28A170 #3328A1 #A12859
square
#96A128 #28A170 #3328A1 #A12859
split-complementary
#96A128 #2859A1 #7028A1
monochromatic
#3B3F10 #68701C #96A128 #C0CE39 #D0DA6A

Accessibility & contrast

On white

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

On black

7.43
#96A128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A128
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A128#FFFFFF#000000##000000
##96A1281.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96a128;
/* rgb */ color: rgb(150, 161, 40);
/* oklch */ color: oklch(67.8% 0.139 114.8);
Tailwind
colors: {
  custom: {
    50: '#b8bc6c',
    500: '#96a128',
    950: '#000000',
  },
}
SCSS
$custom: #96a128;
$custom-light: #b8bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#96a128",
  "rgb": {
    "r": 150,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 65.455,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67835,
    "c": 0.13938,
    "h": 114.8
  },
  "luminance": 0.32127
}

Semantic roles & 50–950 ramp

primary
#96A128
secondary
#6D65C0
accent
#44E353
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A128

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

Preview Lab → · Contrast checker → · Palette generator →

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