#9CA72A#9CA72A

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

Color values

HEX#9CA72A
RGBrgb(156, 167, 42)
HSLhsl(65, 60%, 41%)
HSVhsv(65, 75%, 65%)
CMYKcmyk(6.6%, 0%, 74.9%, 34.5%)
CIE-LABlab(65.65, -19.45, 58.98)
CIE-LCHlch(65.65, 62.10, 108.25°)
OKLaboklab(69.72% -0.0595 0.13)
OKLCHoklch(69.72% 0.143 114.6)
XYZxyz(27.9477, 34.8730, 7.4490)
Luminance0.3487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA72A #352AA7
analogous
#A7732A #9CA72A #5DA72A
triadic
#9CA72A #2A9CA7 #A72A9C
tetradic
#9CA72A #2AA773 #352AA7 #A72A5D
square
#9CA72A #2AA773 #352AA7 #A72A5D
split-complementary
#9CA72A #2A5DA7 #732AA7
monochromatic
#414511 #6E761E #9CA72A #C2CF3F #D2DB70

Accessibility & contrast

On white

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

On black

7.97
#9CA72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA72A
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA72A#FFFFFF#000000##000000
##9CA72A1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ca72a;
/* rgb */ color: rgb(156, 167, 42);
/* oklch */ color: oklch(69.7% 0.143 114.6);
Tailwind
colors: {
  custom: {
    50: '#bdc16d',
    500: '#9ca72a',
    950: '#000000',
  },
}
SCSS
$custom: #9ca72a;
$custom-light: #bdc16d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca72a",
  "rgb": {
    "r": 156,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 65.28,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69721,
    "c": 0.14297,
    "h": 114.6
  },
  "luminance": 0.34873
}

Semantic roles & 50–950 ramp

primary
#9CA72A
secondary
#726BC2
accent
#45E353
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA72A

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

Preview Lab → · Contrast checker → · Palette generator →

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