#9CA71B#9CA71B

#9CA71B 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#9CA71B
RGBrgb(156, 167, 27)
HSLhsl(65, 72%, 38%)
HSVhsv(65, 84%, 65%)
CMYKcmyk(6.6%, 0%, 83.8%, 34.5%)
CIE-LABlab(65.58, -20.03, 63.34)
CIE-LCHlch(65.58, 66.43, 107.55°)
OKLaboklab(69.64% -0.0622 0.1367)
OKLCHoklch(69.64% 0.15 114.5)
XYZxyz(27.7277, 34.7850, 6.2902)
Luminance0.3478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA71B #261BA7
analogous
#A76C1B #9CA71B #56A71B
triadic
#9CA71B #1B9CA7 #A71B9C
tetradic
#9CA71B #1BA76C #261BA7 #A71B56
square
#9CA71B #1BA76C #261BA7 #A71B56
split-complementary
#9CA71B #1B56A7 #6C1BA7
monochromatic
#3A3E0A #6B7212 #9CA71B #CDDC24 #D9E458

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA71B#FFFFFF#000000##000000
##9CA71B1.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)
#B3A02A
Tritanopia (blue-blind)
#A79D8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca71b;
/* rgb */ color: rgb(156, 167, 27);
/* oklch */ color: oklch(69.6% 0.150 114.5);
Tailwind
colors: {
  custom: {
    50: '#bdc167',
    500: '#9ca71b',
    950: '#000000',
  },
}
SCSS
$custom: #9ca71b;
$custom-light: #bdc167;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca71b",
  "rgb": {
    "r": 156,
    "g": 167,
    "b": 27
  },
  "hsl": {
    "h": 64.714,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.69644,
    "c": 0.15017,
    "h": 114.5
  },
  "luminance": 0.34784
}

Semantic roles & 50–950 ramp

primary
#9CA71B
secondary
#5F56C8
accent
#39EF47
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9CA71B

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

Preview Lab → · Contrast checker → · Palette generator →

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