#96A122#96A122

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

Color values

HEX#96A122
RGBrgb(150, 161, 34)
HSLhsl(65, 65%, 38%)
HSVhsv(65, 79%, 63%)
CMYKcmyk(6.8%, 0%, 78.9%, 36.9%)
CIE-LABlab(63.42, -19.36, 59.33)
CIE-LCHlch(63.42, 62.41, 108.07°)
OKLaboklab(67.8% -0.0596 0.1296)
OKLCHoklch(67.8% 0.143 114.7)
XYZxyz(25.6120, 32.0897, 6.3578)
Luminance0.3209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A122 #2D22A1
analogous
#A16C22 #96A122 #56A122
triadic
#96A122 #2296A1 #A12296
tetradic
#96A122 #22A16C #2D22A1 #A12256
square
#96A122 #22A16C #2D22A1 #A12256
split-complementary
#96A122 #2256A1 #6C22A1
monochromatic
#383C0D #676E17 #96A122 #C4D32D #D3DD60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A122#FFFFFF#000000##000000
##96A1221.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)
#AD9900
Deuteranopia (green-blind)
#AC9B2E
Tritanopia (blue-blind)
#A0978A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a122;
/* rgb */ color: rgb(150, 161, 34);
/* oklch */ color: oklch(67.8% 0.143 114.7);
Tailwind
colors: {
  custom: {
    50: '#b8bc69',
    500: '#96a122',
    950: '#000000',
  },
}
SCSS
$custom: #96a122;
$custom-light: #b8bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#96a122",
  "rgb": {
    "r": 150,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 65.197,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.678,
    "c": 0.1426,
    "h": 114.7
  },
  "luminance": 0.32089
}

Semantic roles & 50–950 ramp

primary
#96A122
secondary
#655DC2
accent
#40E84E
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #96A122

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

Preview Lab → · Contrast checker → · Palette generator →

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