#9CA71F#9CA71F

#9CA71F 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#9CA71F
RGBrgb(156, 167, 31)
HSLhsl(65, 69%, 39%)
HSVhsv(65, 81%, 65%)
CMYKcmyk(6.6%, 0%, 81.4%, 34.5%)
CIE-LABlab(65.60, -19.90, 62.31)
CIE-LCHlch(65.60, 65.42, 107.71°)
OKLaboklab(69.66% -0.0616 0.1352)
OKLCHoklch(69.66% 0.149 114.5)
XYZxyz(27.7772, 34.8048, 6.5508)
Luminance0.3480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA71F #2A1FA7
analogous
#A76E1F #9CA71F #58A71F
triadic
#9CA71F #1F9CA7 #A71F9C
tetradic
#9CA71F #1FA76E #2A1FA7 #A71F58
square
#9CA71F #1FA76E #2A1FA7 #A71F58
split-complementary
#9CA71F #1F58A7 #6E1FA7
monochromatic
#3C400C #6C7315 #9CA71F #CAD82B #D7E15F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #9ca71f;
/* rgb */ color: rgb(156, 167, 31);
/* oklch */ color: oklch(69.7% 0.149 114.5);
Tailwind
colors: {
  custom: {
    50: '#bdc169',
    500: '#9ca71f',
    950: '#000000',
  },
}
SCSS
$custom: #9ca71f;
$custom-light: #bdc169;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca71f",
  "rgb": {
    "r": 156,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 64.853,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.69661,
    "c": 0.14853,
    "h": 114.5
  },
  "luminance": 0.34804
}

Semantic roles & 50–950 ramp

primary
#9CA71F
secondary
#655CC6
accent
#3CEC4A
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9CA71F

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

Preview Lab → · Contrast checker → · Palette generator →

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