#96A726#96A726

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

Color values

HEX#96A726
RGBrgb(150, 167, 38)
HSLhsl(68, 63%, 40%)
HSVhsv(68, 77%, 65%)
CMYKcmyk(10.2%, 0%, 77.2%, 34.5%)
CIE-LABlab(65.17, -22.22, 59.68)
CIE-LCHlch(65.17, 63.69, 110.42°)
OKLaboklab(69.22% -0.0671 0.131)
OKLCHoklch(69.22% 0.147 117.1)
XYZxyz(26.7469, 34.2617, 7.0375)
Luminance0.3426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A726 #3726A7
analogous
#A77726 #96A726 #55A726
triadic
#96A726 #2696A7 #A72696
tetradic
#96A726 #26A777 #3726A7 #A72655
square
#96A726 #26A777 #3726A7 #A72655
split-complementary
#96A726 #2655A7 #7726A7
monochromatic
#3C430F #69751B #96A726 #BED238 #CEDD6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A726#FFFFFF#000000##000000
##96A7261.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)
#B39E02
Deuteranopia (green-blind)
#B19F32
Tritanopia (blue-blind)
#A09D8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #96a726;
/* rgb */ color: rgb(150, 167, 38);
/* oklch */ color: oklch(69.2% 0.147 117.1);
Tailwind
colors: {
  custom: {
    50: '#b8c16b',
    500: '#96a726',
    950: '#000000',
  },
}
SCSS
$custom: #96a726;
$custom-light: #b8c16b;
$custom-dark: #000000;
JSON
{
  "hex": "#96a726",
  "rgb": {
    "r": 150,
    "g": 167,
    "b": 38
  },
  "hsl": {
    "h": 67.907,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.69215,
    "c": 0.14721,
    "h": 117.1
  },
  "luminance": 0.34261
}

Semantic roles & 50–950 ramp

primary
#96A726
secondary
#7265C3
accent
#42E657
background
#FBFBF6
surface
#F7F7EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A726

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

Preview Lab → · Contrast checker → · Palette generator →

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