#9CA72F#9CA72F

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

Color values

HEX#9CA72F
RGBrgb(156, 167, 47)
HSLhsl(66, 56%, 42%)
HSVhsv(66, 72%, 65%)
CMYKcmyk(6.6%, 0%, 71.9%, 34.5%)
CIE-LABlab(65.68, -19.20, 57.23)
CIE-LCHlch(65.68, 60.37, 108.55°)
OKLaboklab(69.75% -0.0583 0.1272)
OKLCHoklch(69.75% 0.14 114.6)
XYZxyz(28.0429, 34.9111, 7.9500)
Luminance0.3491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA72F #3A2FA7
analogous
#A7762F #9CA72F #60A72F
triadic
#9CA72F #2F9CA7 #A72F9C
tetradic
#9CA72F #2FA776 #3A2FA7 #A72F60
square
#9CA72F #2FA776 #3A2FA7 #A72F60
split-complementary
#9CA72F #2F60A7 #762FA7
monochromatic
#434714 #6F7722 #9CA72F #BFCB48 #D0D978

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA72F#FFFFFF#000000##000000
##9CA72F1.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)
#B39F19
Deuteranopia (green-blind)
#B3A138
Tritanopia (blue-blind)
#A69D90
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca72f;
/* rgb */ color: rgb(156, 167, 47);
/* oklch */ color: oklch(69.8% 0.140 114.6);
Tailwind
colors: {
  custom: {
    50: '#bcc170',
    500: '#9ca72f',
    950: '#000000',
  },
}
SCSS
$custom: #9ca72f;
$custom-light: #bcc170;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca72f",
  "rgb": {
    "r": 156,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 65.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69754,
    "c": 0.13995,
    "h": 114.6
  },
  "luminance": 0.34911
}

Semantic roles & 50–950 ramp

primary
#9CA72F
secondary
#7871C1
accent
#48DF56
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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