#96A223#96A223

#96A223 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.0% C 0.143 H 115.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#96A223
RGBrgb(150, 162, 35)
HSLhsl(66, 64%, 39%)
HSVhsv(66, 78%, 64%)
CMYKcmyk(7.4%, 0%, 78.4%, 36.5%)
CIE-LABlab(63.71, -19.83, 59.29)
CIE-LCHlch(63.71, 62.52, 108.49°)
OKLaboklab(68.04% -0.0608 0.1296)
OKLCHoklch(68.04% 0.143 115.1)
XYZxyz(25.8021, 32.4465, 6.4934)
Luminance0.3245 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A223 #2F23A2
analogous
#A26E23 #96A223 #56A223
triadic
#96A223 #2396A2 #A22396
tetradic
#96A223 #23A26E #2F23A2 #A22356
square
#96A223 #23A26E #2F23A2 #A22356
split-complementary
#96A223 #2356A2 #6E23A2
monochromatic
#393D0D #677018 #96A223 #C3D230 #D2DD62

Accessibility & contrast

On white

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

On black

7.49
#96A223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A223
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A223#FFFFFF#000000##000000
##96A2231.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AD9B2F
Tritanopia (blue-blind)
#A0988B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #96a223;
/* rgb */ color: rgb(150, 162, 35);
/* oklch */ color: oklch(68.0% 0.143 115.1);
Tailwind
colors: {
  custom: {
    50: '#b8bd69',
    500: '#96a223',
    950: '#000000',
  },
}
SCSS
$custom: #96a223;
$custom-light: #b8bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#96a223",
  "rgb": {
    "r": 150,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 65.669,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68037,
    "c": 0.14319,
    "h": 115.1
  },
  "luminance": 0.32446
}

Semantic roles & 50–950 ramp

primary
#96A223
secondary
#685EC2
accent
#40E750
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #96A223

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

Preview Lab → · Contrast checker → · Palette generator →

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