#9CA222#9CA222

#9CA222 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.5% C 0.142 H 112.4°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9CA222
RGBrgb(156, 162, 34)
HSLhsl(63, 65%, 38%)
HSVhsv(63, 79%, 64%)
CMYKcmyk(3.7%, 0%, 79%, 36.5%)
CIE-LABlab(64.18, -17.25, 60.20)
CIE-LCHlch(64.18, 62.62, 105.99°)
OKLaboklab(68.53% -0.054 0.1312)
OKLCHoklch(68.53% 0.142 112.4)
XYZxyz(26.9203, 33.0247, 6.4694)
Luminance0.3302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA222 #2822A2
analogous
#A26822 #9CA222 #5CA222
triadic
#9CA222 #229CA2 #A2229C
tetradic
#9CA222 #22A268 #2822A2 #A2225C
square
#9CA222 #22A268 #2822A2 #A2225C
split-complementary
#9CA222 #225CA2 #6822A2
monochromatic
#3B3D0D #6B6F17 #9CA222 #CBD32E #D8DE61

Accessibility & contrast

On white

2.76
#9CA222 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#9CA222 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA222
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA222#FFFFFF#000000##000000
##9CA2221.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AF9D2E
Tritanopia (blue-blind)
#A7988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca222;
/* rgb */ color: rgb(156, 162, 34);
/* oklch */ color: oklch(68.5% 0.142 112.4);
Tailwind
colors: {
  custom: {
    50: '#bdbd69',
    500: '#9ca222',
    950: '#000000',
  },
}
SCSS
$custom: #9ca222;
$custom-light: #bdbd69;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca222",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 34
  },
  "hsl": {
    "h": 62.813,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.68531,
    "c": 0.14186,
    "h": 112.4
  },
  "luminance": 0.33024
}

Semantic roles & 50–950 ramp

primary
#9CA222
secondary
#625DC3
accent
#40E847
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9CA222

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

Preview Lab → · Contrast checker → · Palette generator →

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