#9CA52C#9CA52C

#9CA52C is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.3% C 0.140 H 113.7°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9CA52C
RGBrgb(156, 165, 44)
HSLhsl(64, 58%, 41%)
HSVhsv(64, 73%, 65%)
CMYKcmyk(5.5%, 0%, 73.3%, 35.3%)
CIE-LABlab(65.09, -18.34, 57.75)
CIE-LCHlch(65.09, 60.59, 107.62°)
OKLaboklab(69.28% -0.0562 0.1278)
OKLCHoklch(69.28% 0.14 113.7)
XYZxyz(27.6209, 34.1606, 7.5210)
Luminance0.3416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA52C #352CA5
analogous
#A5712C #9CA52C #5FA52C
triadic
#9CA52C #2C9CA5 #A52C9C
tetradic
#9CA52C #2CA571 #352CA5 #A52C5F
square
#9CA52C #2CA571 #352CA5 #A52C5F
split-complementary
#9CA52C #2C5FA5 #712CA5
monochromatic
#414412 #6E751F #9CA52C #C2CD42 #D2D972

Accessibility & contrast

On white

2.68
#9CA52C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#9CA52C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA52C
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA52C#FFFFFF#000000##000000
##9CA52C1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D14
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#A79B8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9ca52c;
/* rgb */ color: rgb(156, 165, 44);
/* oklch */ color: oklch(69.3% 0.140 113.7);
Tailwind
colors: {
  custom: {
    50: '#bcbf6e',
    500: '#9ca52c',
    950: '#000000',
  },
}
SCSS
$custom: #9ca52c;
$custom-light: #bcbf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca52c",
  "rgb": {
    "r": 156,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 64.463,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69276,
    "c": 0.1396,
    "h": 113.7
  },
  "luminance": 0.3416
}

Semantic roles & 50–950 ramp

primary
#9CA52C
secondary
#726CC1
accent
#47E152
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA52C

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

Preview Lab → · Contrast checker → · Palette generator →

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