#96A22F#96A22F

#96A22F is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.1% C 0.136 H 115.3°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#96A22F
RGBrgb(150, 162, 47)
HSLhsl(66, 55%, 41%)
HSVhsv(66, 71%, 64%)
CMYKcmyk(7.4%, 0%, 71%, 36.5%)
CIE-LABlab(63.78, -19.25, 55.21)
CIE-LCHlch(63.78, 58.47, 109.22°)
OKLaboklab(68.11% -0.0581 0.1231)
OKLCHoklch(68.11% 0.136 115.3)
XYZxyz(26.0118, 32.5304, 7.5975)
Luminance0.3253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A22F #3B2FA2
analogous
#A2742F #96A22F #5CA22F
triadic
#96A22F #2F96A2 #A22F96
tetradic
#96A22F #2FA274 #3B2FA2 #A22F5C
square
#96A22F #2FA274 #3B2FA2 #A22F5C
split-complementary
#96A22F #2F5CA2 #742FA2
monochromatic
#3E4313 #6A7321 #96A22F #BBC945 #CDD775

Accessibility & contrast

On white

2.80
#96A22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#96A22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A22F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A22F#FFFFFF#000000##000000
##96A22F1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1C
Deuteranopia (green-blind)
#AD9B38
Tritanopia (blue-blind)
#A0998B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a22f;
/* rgb */ color: rgb(150, 162, 47);
/* oklch */ color: oklch(68.1% 0.136 115.3);
Tailwind
colors: {
  custom: {
    50: '#b8bd6f',
    500: '#96a22f',
    950: '#000000',
  },
}
SCSS
$custom: #96a22f;
$custom-light: #b8bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#96a22f",
  "rgb": {
    "r": 150,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 66.261,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68114,
    "c": 0.13617,
    "h": 115.3
  },
  "luminance": 0.3253
}

Semantic roles & 50–950 ramp

primary
#96A22F
secondary
#776EBF
accent
#49DE59
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #96A22F

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

Preview Lab → · Contrast checker → · Palette generator →

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