#96A628#96A628

#96A628 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.0% C 0.145 H 116.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#96A628
RGBrgb(150, 166, 40)
HSLhsl(68, 61%, 40%)
HSVhsv(68, 76%, 65%)
CMYKcmyk(9.6%, 0%, 75.9%, 34.9%)
CIE-LABlab(64.89, -21.63, 58.77)
CIE-LCHlch(64.89, 62.63, 110.20°)
OKLaboklab(68.99% -0.0653 0.1294)
OKLCHoklch(68.99% 0.145 116.8)
XYZxyz(26.5976, 33.9100, 7.1512)
Luminance0.3391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A628 #3828A6
analogous
#A67728 #96A628 #57A628
triadic
#96A628 #2896A6 #A62896
tetradic
#96A628 #28A677 #3828A6 #A62857
square
#96A628 #28A677 #3828A6 #A62857
split-complementary
#96A628 #2857A6 #7728A6
monochromatic
#3D4310 #69751C #96A628 #BDD03B #CEDC6D

Accessibility & contrast

On white

2.70
#96A628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#96A628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A628
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A628#FFFFFF#000000##000000
##96A6281.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D09
Deuteranopia (green-blind)
#B09E33
Tritanopia (blue-blind)
#A09C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #96a628;
/* rgb */ color: rgb(150, 166, 40);
/* oklch */ color: oklch(69.0% 0.145 116.8);
Tailwind
colors: {
  custom: {
    50: '#b8c06c',
    500: '#96a628',
    950: '#000000',
  },
}
SCSS
$custom: #96a628;
$custom-light: #b8c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#96a628",
  "rgb": {
    "r": 150,
    "g": 166,
    "b": 40
  },
  "hsl": {
    "h": 67.619,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68994,
    "c": 0.14499,
    "h": 116.8
  },
  "luminance": 0.3391
}

Semantic roles & 50–950 ramp

primary
#96A628
secondary
#7367C2
accent
#44E458
background
#FBFBF6
surface
#F6F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A628

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

Preview Lab → · Contrast checker → · Palette generator →

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