#9CB422#9CB422

#9CB422 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.7% C 0.161 H 119.2°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#9CB422
RGBrgb(156, 180, 34)
HSLhsl(70, 68%, 42%)
HSVhsv(70, 81%, 71%)
CMYKcmyk(13.3%, 0%, 81.1%, 29.4%)
CIE-LABlab(69.35, -26.23, 64.79)
CIE-LCHlch(69.35, 69.90, 112.04°)
OKLaboklab(72.68% -0.0788 0.141)
OKLCHoklch(72.68% 0.161 119.2)
XYZxyz(30.3210, 39.8261, 7.6029)
Luminance0.3983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB422 #3A22B4
analogous
#B48322 #9CB422 #53B422
triadic
#9CB422 #229CB4 #B4229C
tetradic
#9CB422 #22B483 #3A22B4 #B42253
square
#9CB422 #22B483 #3A22B4 #B42253
split-complementary
#9CB422 #2253B4 #8322B4
monochromatic
#434D0F #6F8118 #9CB422 #BFDA3A #D0E36D

Accessibility & contrast

On white

2.34
#9CB422 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#9CB422 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB422
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB422#FFFFFF#000000##000000
##9CB4221.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BDAA31
Tritanopia (blue-blind)
#A6AA9A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb422;
/* rgb */ color: rgb(156, 180, 34);
/* oklch */ color: oklch(72.7% 0.161 119.2);
Tailwind
colors: {
  custom: {
    50: '#bdca6c',
    500: '#9cb422',
    950: '#000000',
  },
}
SCSS
$custom: #9cb422;
$custom-light: #bdca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb422",
  "rgb": {
    "r": 156,
    "g": 180,
    "b": 34
  },
  "hsl": {
    "h": 69.863,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.7268,
    "c": 0.16148,
    "h": 119.2
  },
  "luminance": 0.39826
}

Semantic roles & 50–950 ramp

primary
#9CB422
secondary
#7868CA
accent
#3DEB59
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9CB422

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

Preview Lab → · Contrast checker → · Palette generator →

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