#9CA72C#9CA72C

#9CA72C is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.7% C 0.142 H 114.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#9CA72C
RGBrgb(156, 167, 44)
HSLhsl(65, 58%, 41%)
HSVhsv(65, 74%, 65%)
CMYKcmyk(6.6%, 0%, 73.7%, 34.5%)
CIE-LABlab(65.66, -19.36, 58.30)
CIE-LCHlch(65.66, 61.43, 108.37°)
OKLaboklab(69.73% -0.059 0.1289)
OKLCHoklch(69.73% 0.142 114.6)
XYZxyz(27.9844, 34.8877, 7.6422)
Luminance0.3489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA72C #372CA7
analogous
#A7752C #9CA72C #5FA72C
triadic
#9CA72C #2C9CA7 #A72C9C
tetradic
#9CA72C #2CA775 #372CA7 #A72C5F
square
#9CA72C #2CA775 #372CA7 #A72C5F
split-complementary
#9CA72C #2C5FA7 #752CA7
monochromatic
#424612 #6F771F #9CA72C #C1CD43 #D1DA73

Accessibility & contrast

On white

2.63
#9CA72C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#9CA72C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA72C
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA72C#FFFFFF#000000##000000
##9CA72C1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F13
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#A69D8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca72c;
/* rgb */ color: rgb(156, 167, 44);
/* oklch */ color: oklch(69.7% 0.142 114.6);
Tailwind
colors: {
  custom: {
    50: '#bdc16e',
    500: '#9ca72c',
    950: '#000000',
  },
}
SCSS
$custom: #9ca72c;
$custom-light: #bdc16e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca72c",
  "rgb": {
    "r": 156,
    "g": 167,
    "b": 44
  },
  "hsl": {
    "h": 65.366,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69734,
    "c": 0.14181,
    "h": 114.6
  },
  "luminance": 0.34887
}

Semantic roles & 50–950 ramp

primary
#9CA72C
secondary
#756DC2
accent
#46E254
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA72C

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

Preview Lab → · Contrast checker → · Palette generator →

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