#9CA71C#9CA71C

#9CA71C is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.6% C 0.150 H 114.5°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9CA71C
RGBrgb(156, 167, 28)
HSLhsl(65, 71%, 38%)
HSVhsv(65, 83%, 65%)
CMYKcmyk(6.6%, 0%, 83.2%, 34.5%)
CIE-LABlab(65.58, -20.00, 63.09)
CIE-LCHlch(65.58, 66.19, 107.59°)
OKLaboklab(69.65% -0.0621 0.1363)
OKLCHoklch(69.65% 0.15 114.5)
XYZxyz(27.7395, 34.7897, 6.3522)
Luminance0.3479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA71C #271CA7
analogous
#A76C1C #9CA71C #56A71C
triadic
#9CA71C #1C9CA7 #A71C9C
tetradic
#9CA71C #1CA76C #271CA7 #A71C56
square
#9CA71C #1CA76C #271CA7 #A71C56
split-complementary
#9CA71C #1C56A7 #6C1CA7
monochromatic
#3A3E0A #6B7313 #9CA71C #CCDB26 #D8E35A

Accessibility & contrast

On white

2.64
#9CA71C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#9CA71C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA71C
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA71C#FFFFFF#000000##000000
##9CA71C1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B3A02B
Tritanopia (blue-blind)
#A79D8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca71c;
/* rgb */ color: rgb(156, 167, 28);
/* oklch */ color: oklch(69.6% 0.150 114.5);
Tailwind
colors: {
  custom: {
    50: '#bdc167',
    500: '#9ca71c',
    950: '#000000',
  },
}
SCSS
$custom: #9ca71c;
$custom-light: #bdc167;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca71c",
  "rgb": {
    "r": 156,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 64.748,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.69648,
    "c": 0.14978,
    "h": 114.5
  },
  "luminance": 0.34789
}

Semantic roles & 50–950 ramp

primary
#9CA71C
secondary
#6158C7
accent
#3AEE48
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9CA71C

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

Preview Lab → · Contrast checker → · Palette generator →

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