#9CAB22#9CAB22

#9CAB22 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.6% C 0.152 H 116.1°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#9CAB22
RGBrgb(156, 171, 34)
HSLhsl(67, 67%, 40%)
HSVhsv(67, 80%, 67%)
CMYKcmyk(8.8%, 0%, 80.1%, 32.9%)
CIE-LABlab(66.76, -21.80, 62.50)
CIE-LCHlch(66.76, 66.19, 109.23°)
OKLaboklab(70.6% -0.0666 0.1361)
OKLCHoklch(70.6% 0.152 116.1)
XYZxyz(28.5627, 36.3097, 7.0169)
Luminance0.3631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CAB22 #3122AB
analogous
#AB7522 #9CAB22 #58AB22
triadic
#9CAB22 #229CAB #AB229C
tetradic
#9CAB22 #22AB75 #3122AB #AB2258
square
#9CAB22 #22AB75 #3122AB #AB2258
split-complementary
#9CAB22 #2258AB #7522AB
monochromatic
#3F450E #6D7818 #9CAB22 #C5D734 #D3E167

Accessibility & contrast

On white

2.54
#9CAB22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#9CAB22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CAB22
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CAB22#FFFFFF#000000##000000
##9CAB221.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#A6A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9cab22;
/* rgb */ color: rgb(156, 171, 34);
/* oklch */ color: oklch(70.6% 0.152 116.1);
Tailwind
colors: {
  custom: {
    50: '#bdc36a',
    500: '#9cab22',
    950: '#000000',
  },
}
SCSS
$custom: #9cab22;
$custom-light: #bdc36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9cab22",
  "rgb": {
    "r": 156,
    "g": 171,
    "b": 34
  },
  "hsl": {
    "h": 66.569,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70596,
    "c": 0.15151,
    "h": 116.1
  },
  "luminance": 0.36309
}

Semantic roles & 50–950 ramp

primary
#9CAB22
secondary
#6D63C6
accent
#3EEA51
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9CAB22

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

Preview Lab → · Contrast checker → · Palette generator →

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