#9CA72D#9CA72D

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

Color values

HEX#9CA72D
RGBrgb(156, 167, 45)
HSLhsl(65, 58%, 42%)
HSVhsv(65, 73%, 65%)
CMYKcmyk(6.6%, 0%, 73.1%, 34.5%)
CIE-LABlab(65.67, -19.31, 57.95)
CIE-LCHlch(65.67, 61.08, 108.43°)
OKLaboklab(69.74% -0.0588 0.1284)
OKLCHoklch(69.74% 0.141 114.6)
XYZxyz(28.0035, 34.8953, 7.7424)
Luminance0.3489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA72D #382DA7
analogous
#A7752D #9CA72D #5FA72D
triadic
#9CA72D #2D9CA7 #A72D9C
tetradic
#9CA72D #2DA775 #382DA7 #A72D5F
square
#9CA72D #2DA775 #382DA7 #A72D5F
split-complementary
#9CA72D #2D5FA7 #752DA7
monochromatic
#424713 #6F7720 #9CA72D #C0CD44 #D1DA75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA72D#FFFFFF#000000##000000
##9CA72D1.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)
#B39F15
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#A69D8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca72d;
/* rgb */ color: rgb(156, 167, 45);
/* oklch */ color: oklch(69.7% 0.141 114.6);
Tailwind
colors: {
  custom: {
    50: '#bcc16f',
    500: '#9ca72d',
    950: '#000000',
  },
}
SCSS
$custom: #9ca72d;
$custom-light: #bcc16f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca72d",
  "rgb": {
    "r": 156,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 65.41,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69741,
    "c": 0.1412,
    "h": 114.6
  },
  "luminance": 0.34895
}

Semantic roles & 50–950 ramp

primary
#9CA72D
secondary
#766EC1
accent
#47E155
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA72D

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

Preview Lab → · Contrast checker → · Palette generator →

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