#9CA921#9CA921

#9CA921 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.1% C 0.150 H 115.3°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#9CA921
RGBrgb(156, 169, 33)
HSLhsl(66, 67%, 40%)
HSVhsv(66, 80%, 66%)
CMYKcmyk(7.7%, 0%, 80.5%, 33.7%)
CIE-LABlab(66.18, -20.84, 62.27)
CIE-LCHlch(66.18, 65.66, 108.50°)
OKLaboklab(70.13% -0.064 0.1354)
OKLCHoklch(70.13% 0.15 115.3)
XYZxyz(28.1736, 35.5541, 6.8170)
Luminance0.3555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA921 #2E21A9
analogous
#A97221 #9CA921 #58A921
triadic
#9CA921 #219CA9 #A9219C
tetradic
#9CA921 #21A972 #2E21A9 #A92158
square
#9CA921 #21A972 #2E21A9 #A92158
split-complementary
#9CA921 #2158A9 #7221A9
monochromatic
#3D430D #6D7617 #9CA921 #C7D731 #D5E164

Accessibility & contrast

On white

2.59
#9CA921 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#9CA921 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA921
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA921#FFFFFF#000000##000000
##9CA9211.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#B5A22E
Tritanopia (blue-blind)
#A79F90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ca921;
/* rgb */ color: rgb(156, 169, 33);
/* oklch */ color: oklch(70.1% 0.150 115.3);
Tailwind
colors: {
  custom: {
    50: '#bdc26a',
    500: '#9ca921',
    950: '#000000',
  },
}
SCSS
$custom: #9ca921;
$custom-light: #bdc26a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca921",
  "rgb": {
    "r": 156,
    "g": 169,
    "b": 33
  },
  "hsl": {
    "h": 65.735,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70131,
    "c": 0.14979,
    "h": 115.3
  },
  "luminance": 0.35554
}

Semantic roles & 50–950 ramp

primary
#9CA921
secondary
#6A60C6
accent
#3EEA4E
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9CA921

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

Preview Lab → · Contrast checker → · Palette generator →

#9CA921 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva