#9CA71E#9CA71E

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

Color values

HEX#9CA71E
RGBrgb(156, 167, 30)
HSLhsl(65, 70%, 39%)
HSVhsv(65, 82%, 65%)
CMYKcmyk(6.6%, 0%, 82%, 34.5%)
CIE-LABlab(65.59, -19.93, 62.58)
CIE-LCHlch(65.59, 65.68, 107.67°)
OKLaboklab(69.66% -0.0618 0.1355)
OKLCHoklch(69.66% 0.149 114.5)
XYZxyz(27.7642, 34.7996, 6.4825)
Luminance0.3480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA71E #291EA7
analogous
#A76D1E #9CA71E #57A71E
triadic
#9CA71E #1E9CA7 #A71E9C
tetradic
#9CA71E #1EA76D #291EA7 #A71E57
square
#9CA71E #1EA76D #291EA7 #A71E57
split-complementary
#9CA71E #1E57A7 #6D1EA7
monochromatic
#3B3F0B #6C7315 #9CA71E #CBD92A #D7E25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA71E#FFFFFF#000000##000000
##9CA71E1.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)
#B3A02C
Tritanopia (blue-blind)
#A79D8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca71e;
/* rgb */ color: rgb(156, 167, 30);
/* oklch */ color: oklch(69.7% 0.149 114.5);
Tailwind
colors: {
  custom: {
    50: '#bdc168',
    500: '#9ca71e',
    950: '#000000',
  },
}
SCSS
$custom: #9ca71e;
$custom-light: #bdc168;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca71e",
  "rgb": {
    "r": 156,
    "g": 167,
    "b": 30
  },
  "hsl": {
    "h": 64.818,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.69657,
    "c": 0.14896,
    "h": 114.5
  },
  "luminance": 0.34799
}

Semantic roles & 50–950 ramp

primary
#9CA71E
secondary
#635BC6
accent
#3BEC4A
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9CA71E

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

Preview Lab → · Contrast checker → · Palette generator →

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