#96A126#96A126

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

Color values

HEX#96A126
RGBrgb(150, 161, 38)
HSLhsl(65, 62%, 39%)
HSVhsv(65, 76%, 63%)
CMYKcmyk(6.8%, 0%, 76.4%, 36.9%)
CIE-LABlab(63.44, -19.19, 58.08)
CIE-LCHlch(63.44, 61.17, 108.29°)
OKLaboklab(67.82% -0.0588 0.1276)
OKLCHoklch(67.82% 0.141 114.7)
XYZxyz(25.6731, 32.1142, 6.6796)
Luminance0.3211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A126 #3126A1
analogous
#A16F26 #96A126 #59A126
triadic
#96A126 #2696A1 #A12696
tetradic
#96A126 #26A16F #3126A1 #A12659
square
#96A126 #26A16F #3126A1 #A12659
split-complementary
#96A126 #2659A1 #6F26A1
monochromatic
#3A3E0F #686F1A #96A126 #C1CF35 #D1DB66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A126#FFFFFF#000000##000000
##96A1261.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)
#AD9907
Deuteranopia (green-blind)
#AC9B31
Tritanopia (blue-blind)
#A0978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a126;
/* rgb */ color: rgb(150, 161, 38);
/* oklch */ color: oklch(67.8% 0.141 114.7);
Tailwind
colors: {
  custom: {
    50: '#b8bc6b',
    500: '#96a126',
    950: '#000000',
  },
}
SCSS
$custom: #96a126;
$custom-light: #b8bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#96a126",
  "rgb": {
    "r": 150,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 65.366,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67823,
    "c": 0.1405,
    "h": 114.7
  },
  "luminance": 0.32114
}

Semantic roles & 50–950 ramp

primary
#96A126
secondary
#6A62C1
accent
#43E551
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #96A126

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

Preview Lab → · Contrast checker → · Palette generator →

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