#9CA322#9CA322

#9CA322 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.8% C 0.143 H 112.8°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9CA322
RGBrgb(156, 163, 34)
HSLhsl(63, 65%, 39%)
HSVhsv(63, 79%, 64%)
CMYKcmyk(4.3%, 0%, 79.1%, 36.1%)
CIE-LABlab(64.47, -17.76, 60.46)
CIE-LCHlch(64.47, 63.01, 106.37°)
OKLaboklab(68.76% -0.0555 0.1317)
OKLCHoklch(68.76% 0.143 112.8)
XYZxyz(27.0971, 33.3784, 6.5283)
Luminance0.3338 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA322 #2922A3
analogous
#A36922 #9CA322 #5BA322
triadic
#9CA322 #229CA3 #A3229C
tetradic
#9CA322 #22A369 #2922A3 #A3225B
square
#9CA322 #22A369 #2922A3 #A3225B
split-complementary
#9CA322 #225BA3 #6922A3
monochromatic
#3B3E0D #6C7017 #9CA322 #CBD42F #D7DE61

Accessibility & contrast

On white

2.74
#9CA322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#9CA322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA322
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA322#FFFFFF#000000##000000
##9CA3221.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ca322;
/* rgb */ color: rgb(156, 163, 34);
/* oklch */ color: oklch(68.8% 0.143 112.8);
Tailwind
colors: {
  custom: {
    50: '#bdbe69',
    500: '#9ca322',
    950: '#000000',
  },
}
SCSS
$custom: #9ca322;
$custom-light: #bdbe69;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca322",
  "rgb": {
    "r": 156,
    "g": 163,
    "b": 34
  },
  "hsl": {
    "h": 63.256,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68759,
    "c": 0.14291,
    "h": 112.8
  },
  "luminance": 0.33378
}

Semantic roles & 50–950 ramp

primary
#9CA322
secondary
#635EC3
accent
#3FE849
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA322

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

Preview Lab → · Contrast checker → · Palette generator →

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