#96A121#96A121

#96A121 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#96A121
RGBrgb(150, 161, 33)
HSLhsl(65, 66%, 38%)
HSVhsv(65, 80%, 63%)
CMYKcmyk(6.8%, 0%, 79.5%, 36.9%)
CIE-LABlab(63.41, -19.40, 59.63)
CIE-LCHlch(63.41, 62.71, 108.02°)
OKLaboklab(67.8% -0.0598 0.13)
OKLCHoklch(67.8% 0.143 114.7)
XYZxyz(25.5978, 32.0841, 6.2829)
Luminance0.3208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A121 #2C21A1
analogous
#A16C21 #96A121 #56A121
triadic
#96A121 #2196A1 #A12196
tetradic
#96A121 #21A16C #2C21A1 #A12156
square
#96A121 #21A16C #2C21A1 #A12156
split-complementary
#96A121 #2156A1 #6C21A1
monochromatic
#373B0C #676E17 #96A121 #C5D42C #D3DE5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##96A121#FFFFFF#000000##000000
##96A1211.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)
#AD9B2D
Tritanopia (blue-blind)
#A0978A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #96a121;
/* rgb */ color: rgb(150, 161, 33);
/* oklch */ color: oklch(67.8% 0.143 114.7);
Tailwind
colors: {
  custom: {
    50: '#b8bc68',
    500: '#96a121',
    950: '#000000',
  },
}
SCSS
$custom: #96a121;
$custom-light: #b8bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#96a121",
  "rgb": {
    "r": 150,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 65.156,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67795,
    "c": 0.14309,
    "h": 114.7
  },
  "luminance": 0.32084
}

Semantic roles & 50–950 ramp

primary
#96A121
secondary
#645BC3
accent
#3FE94D
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #96A121

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

Preview Lab → · Contrast checker → · Palette generator →

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