#9CAE21#9CAE21

#9CAE21 is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.3% C 0.155 H 117.2°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#9CAE21
RGBrgb(156, 174, 33)
HSLhsl(68, 68%, 41%)
HSVhsv(68, 81%, 68%)
CMYKcmyk(10.3%, 0%, 81%, 31.8%)
CIE-LABlab(67.61, -23.33, 63.54)
CIE-LCHlch(67.61, 67.68, 110.16°)
OKLaboklab(71.28% -0.0709 0.1381)
OKLCHoklch(71.28% 0.155 117.2)
XYZxyz(29.1216, 37.4502, 7.1330)
Luminance0.3745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAE21 #3321AE
analogous
#AE7A21 #9CAE21 #55AE21
triadic
#9CAE21 #219CAE #AE219C
tetradic
#9CAE21 #21AE7A #3321AE #AE2155
square
#9CAE21 #21AE7A #3321AE #AE2155
split-complementary
#9CAE21 #2155AE #7A21AE
monochromatic
#40470D #6E7B17 #9CAE21 #C3D834 #D3E267

Accessibility & contrast

On white

2.47
#9CAE21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#9CAE21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAE21
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAE21#FFFFFF#000000##000000
##9CAE211.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B9A52F
Tritanopia (blue-blind)
#A6A495
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9cae21;
/* rgb */ color: rgb(156, 174, 33);
/* oklch */ color: oklch(71.3% 0.155 117.2);
Tailwind
colors: {
  custom: {
    50: '#bdc66a',
    500: '#9cae21',
    950: '#000000',
  },
}
SCSS
$custom: #9cae21;
$custom-light: #bdc66a;
$custom-dark: #000000;
JSON
{
  "hex": "#9cae21",
  "rgb": {
    "r": 156,
    "g": 174,
    "b": 33
  },
  "hsl": {
    "h": 67.66,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.71284,
    "c": 0.15525,
    "h": 117.2
  },
  "luminance": 0.3745
}

Semantic roles & 50–950 ramp

primary
#9CAE21
secondary
#7063C8
accent
#3DEB53
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9CAE21

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

Preview Lab → · Contrast checker → · Palette generator →

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