#9CA22B#9CA22B

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

Color values

HEX#9CA22B
RGBrgb(156, 162, 43)
HSLhsl(63, 58%, 40%)
HSVhsv(63, 73%, 64%)
CMYKcmyk(3.7%, 0%, 73.5%, 36.5%)
CIE-LABlab(64.23, -16.86, 57.28)
CIE-LCHlch(64.23, 59.71, 106.40°)
OKLaboklab(68.58% -0.0522 0.1266)
OKLCHoklch(68.58% 0.137 112.4)
XYZxyz(27.0675, 33.0836, 7.2450)
Luminance0.3308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA22B #312BA2
analogous
#A26C2B #9CA22B #61A22B
triadic
#9CA22B #2B9CA2 #A22B9C
tetradic
#9CA22B #2BA26C #312BA2 #A22B61
square
#9CA22B #2BA26C #312BA2 #A22B61
split-complementary
#9CA22B #2B61A2 #6C2BA2
monochromatic
#3F4111 #6D721E #9CA22B #C5CC3E #D3D96F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA22B#FFFFFF#000000##000000
##9CA22B1.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)
#AF9A13
Deuteranopia (green-blind)
#AF9D35
Tritanopia (blue-blind)
#A7988B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca22b;
/* rgb */ color: rgb(156, 162, 43);
/* oklch */ color: oklch(68.6% 0.137 112.4);
Tailwind
colors: {
  custom: {
    50: '#bcbd6d',
    500: '#9ca22b',
    950: '#000000',
  },
}
SCSS
$custom: #9ca22b;
$custom-light: #bcbd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca22b",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 43
  },
  "hsl": {
    "h": 63.025,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.68584,
    "c": 0.13694,
    "h": 112.4
  },
  "luminance": 0.33083
}

Semantic roles & 50–950 ramp

primary
#9CA22B
secondary
#6D69C0
accent
#47E14E
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA22B

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

Preview Lab → · Contrast checker → · Palette generator →

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