#9CA22C#9CA22C

#9CA22C is a light, vivid yellow. Relative luminance 0.331; OKLCH L 68.6% C 0.136 H 112.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9CA22C
RGBrgb(156, 162, 44)
HSLhsl(63, 57%, 40%)
HSVhsv(63, 73%, 64%)
CMYKcmyk(3.7%, 0%, 72.8%, 36.5%)
CIE-LABlab(64.23, -16.81, 56.93)
CIE-LCHlch(64.23, 59.36, 106.45°)
OKLaboklab(68.59% -0.0519 0.126)
OKLCHoklch(68.59% 0.136 112.4)
XYZxyz(27.0861, 33.0911, 7.3428)
Luminance0.3309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA22C #322CA2
analogous
#A26D2C #9CA22C #61A22C
triadic
#9CA22C #2C9CA2 #A22C9C
tetradic
#9CA22C #2CA26D #322CA2 #A22C61
square
#9CA22C #2CA26D #322CA2 #A22C61
split-complementary
#9CA22C #2C61A2 #6D2CA2
monochromatic
#3F4212 #6E721F #9CA22C #C4CB40 #D3D870

Accessibility & contrast

On white

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

On black

7.62
#9CA22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA22C
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA22C#FFFFFF#000000##000000
##9CA22C1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ca22c;
/* rgb */ color: rgb(156, 162, 44);
/* oklch */ color: oklch(68.6% 0.136 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbd6e',
    500: '#9ca22c',
    950: '#000000',
  },
}
SCSS
$custom: #9ca22c;
$custom-light: #bcbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca22c",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 63.051,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68591,
    "c": 0.13633,
    "h": 112.4
  },
  "luminance": 0.3309
}

Semantic roles & 50–950 ramp

primary
#9CA22C
secondary
#6F6ABF
accent
#47E14F
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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