#96A421#96A421

#96A421 is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.5% C 0.146 H 115.9°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#96A421
RGBrgb(150, 164, 33)
HSLhsl(66, 66%, 39%)
HSVhsv(66, 80%, 64%)
CMYKcmyk(8.5%, 0%, 79.9%, 35.7%)
CIE-LABlab(64.28, -20.92, 60.41)
CIE-LCHlch(64.28, 63.93, 109.10°)
OKLaboklab(68.49% -0.064 0.1317)
OKLCHoklch(68.49% 0.146 115.9)
XYZxyz(26.1284, 33.1452, 6.4598)
Luminance0.3315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96A421 #2F21A4
analogous
#A47021 #96A421 #54A421
triadic
#96A421 #2196A4 #A42196
tetradic
#96A421 #21A470 #2F21A4 #A42154
square
#96A421 #21A470 #2F21A4 #A42154
split-complementary
#96A421 #2154A4 #7021A4
monochromatic
#393E0C #677117 #96A421 #C3D52D #D2DF60

Accessibility & contrast

On white

2.75
#96A421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#96A421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #96A421
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96A421#FFFFFF#000000##000000
##96A4211.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#AF9D2E
Tritanopia (blue-blind)
#A09A8C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #96a421;
/* rgb */ color: rgb(150, 164, 33);
/* oklch */ color: oklch(68.5% 0.146 115.9);
Tailwind
colors: {
  custom: {
    50: '#b8be69',
    500: '#96a421',
    950: '#000000',
  },
}
SCSS
$custom: #96a421;
$custom-light: #b8be69;
$custom-dark: #000000;
JSON
{
  "hex": "#96a421",
  "rgb": {
    "r": 150,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 66.412,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68491,
    "c": 0.14636,
    "h": 115.9
  },
  "luminance": 0.33145
}

Semantic roles & 50–950 ramp

primary
#96A421
secondary
#685DC4
accent
#3EE951
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #96A421

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

Preview Lab → · Contrast checker → · Palette generator →

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