#96A626#96A626

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

Color values

HEX#96A626
RGBrgb(150, 166, 38)
HSLhsl(68, 63%, 40%)
HSVhsv(68, 77%, 65%)
CMYKcmyk(9.6%, 0%, 77.1%, 34.9%)
CIE-LABlab(64.88, -21.72, 59.42)
CIE-LCHlch(64.88, 63.26, 110.08°)
OKLaboklab(68.98% -0.0658 0.1304)
OKLCHoklch(68.98% 0.146 116.8)
XYZxyz(26.5644, 33.8968, 6.9767)
Luminance0.3390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A626 #3626A6
analogous
#A67626 #96A626 #56A626
triadic
#96A626 #2696A6 #A62696
tetradic
#96A626 #26A676 #3626A6 #A62656
square
#96A626 #26A676 #3626A6 #A62656
split-complementary
#96A626 #2656A6 #7626A6
monochromatic
#3C420F #69741B #96A626 #BED138 #CEDD6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A626#FFFFFF#000000##000000
##96A6261.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)
#B29D03
Deuteranopia (green-blind)
#B09E32
Tritanopia (blue-blind)
#A09C8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #96a626;
/* rgb */ color: rgb(150, 166, 38);
/* oklch */ color: oklch(69.0% 0.146 116.8);
Tailwind
colors: {
  custom: {
    50: '#b8c06b',
    500: '#96a626',
    950: '#000000',
  },
}
SCSS
$custom: #96a626;
$custom-light: #b8c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#96a626",
  "rgb": {
    "r": 150,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 67.5,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.68982,
    "c": 0.14608,
    "h": 116.8
  },
  "luminance": 0.33896
}

Semantic roles & 50–950 ramp

primary
#96A626
secondary
#7165C3
accent
#42E656
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A626

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

Preview Lab → · Contrast checker → · Palette generator →

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