#9CA22D#9CA22D

#9CA22D 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#9CA22D
RGBrgb(156, 162, 45)
HSLhsl(63, 57%, 41%)
HSVhsv(63, 72%, 64%)
CMYKcmyk(3.7%, 0%, 72.2%, 36.5%)
CIE-LABlab(64.24, -16.76, 56.57)
CIE-LCHlch(64.24, 59.00, 106.50°)
OKLaboklab(68.6% -0.0517 0.1255)
OKLCHoklch(68.6% 0.136 112.4)
XYZxyz(27.1051, 33.0987, 7.4430)
Luminance0.3310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA22D #332DA2
analogous
#A26D2D #9CA22D #61A22D
triadic
#9CA22D #2D9CA2 #A22D9C
tetradic
#9CA22D #2DA26D #332DA2 #A22D61
square
#9CA22D #2DA26D #332DA2 #A22D61
split-complementary
#9CA22D #2D61A2 #6D2DA2
monochromatic
#404212 #6E7220 #9CA22D #C3CA42 #D3D872

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA22D#FFFFFF#000000##000000
##9CA22D1.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)
#AE9A18
Deuteranopia (green-blind)
#AF9D36
Tritanopia (blue-blind)
#A7988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca22d;
/* rgb */ color: rgb(156, 162, 45);
/* oklch */ color: oklch(68.6% 0.136 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbd6e',
    500: '#9ca22d',
    950: '#000000',
  },
}
SCSS
$custom: #9ca22d;
$custom-light: #bcbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca22d",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 45
  },
  "hsl": {
    "h": 63.077,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68598,
    "c": 0.1357,
    "h": 112.4
  },
  "luminance": 0.33098
}

Semantic roles & 50–950 ramp

primary
#9CA22D
secondary
#706CBF
accent
#48E050
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA22D

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

Preview Lab → · Contrast checker → · Palette generator →

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