#9CA64C#9CA64C

#9CA64C is a light, moderate yellow. Relative luminance 0.349; OKLCH L 69.8% C 0.115 H 114.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#9CA64C
RGBrgb(156, 166, 76)
HSLhsl(67, 37%, 47%)
HSVhsv(67, 54%, 65%)
CMYKcmyk(6%, 0%, 54.2%, 34.9%)
CIE-LABlab(65.64, -16.65, 44.72)
CIE-LCHlch(65.64, 47.72, 110.42°)
OKLaboklab(69.8% -0.0482 0.1048)
OKLCHoklch(69.8% 0.115 114.7)
XYZxyz(28.6515, 34.8626, 12.0559)
Luminance0.3486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA64C #564CA6
analogous
#A6834C #9CA64C #6FA64C
triadic
#9CA64C #4C9CA6 #A64C9C
tetradic
#9CA64C #4CA683 #564CA6 #A64C6F
square
#9CA64C #4CA683 #564CA6 #A64C6F
split-complementary
#9CA64C #4C6FA6 #834CA6
monochromatic
#4D5226 #757C39 #9CA64C #B6BE71 #CBD19B

Accessibility & contrast

On white

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

On black

7.97
#9CA64C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA64C
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA64C#FFFFFF#000000##000000
##9CA64C1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F43
Deuteranopia (green-blind)
#B0A051
Tritanopia (blue-blind)
#A59E92
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca64c;
/* rgb */ color: rgb(156, 166, 76);
/* oklch */ color: oklch(69.8% 0.115 114.7);
Tailwind
colors: {
  custom: {
    50: '#bbc081',
    500: '#9ca64c',
    950: '#000000',
  },
}
SCSS
$custom: #9ca64c;
$custom-light: #bbc081;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca64c",
  "rgb": {
    "r": 156,
    "g": 166,
    "b": 76
  },
  "hsl": {
    "h": 66.667,
    "s": 37.19,
    "l": 47.451
  },
  "oklch": {
    "l": 0.69803,
    "c": 0.11533,
    "h": 114.7
  },
  "luminance": 0.34862
}

Semantic roles & 50–950 ramp

primary
#9CA64C
secondary
#9590BE
accent
#5BCD67
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120A
muted
#81817C

Preview Lab

Preview with #9CA64C

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

Preview Lab → · Contrast checker → · Palette generator →

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