#9CA64F#9CA64F

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

Color values

HEX#9CA64F
RGBrgb(156, 166, 79)
HSLhsl(67, 36%, 48%)
HSVhsv(67, 52%, 65%)
CMYKcmyk(6%, 0%, 52.4%, 34.9%)
CIE-LABlab(65.67, -16.38, 43.31)
CIE-LCHlch(65.67, 46.30, 110.71°)
OKLaboklab(69.84% -0.0471 0.102)
OKLCHoklch(69.84% 0.112 114.8)
XYZxyz(28.7583, 34.9053, 12.6180)
Luminance0.3491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA64F #594FA6
analogous
#A6844F #9CA64F #70A64F
triadic
#9CA64F #4F9CA6 #A64F9C
tetradic
#9CA64F #4FA684 #594FA6 #A64F70
square
#9CA64F #4FA684 #594FA6 #A64F70
split-complementary
#9CA64F #4F70A6 #844FA6
monochromatic
#4E5328 #757D3B #9CA64F #B5BD75 #CBD19E

Accessibility & contrast

On white

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

On black

7.98
#9CA64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA64F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA64F#FFFFFF#000000##000000
##9CA64F1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ca64f;
/* rgb */ color: rgb(156, 166, 79);
/* oklch */ color: oklch(69.8% 0.112 114.8);
Tailwind
colors: {
  custom: {
    50: '#bbc083',
    500: '#9ca64f',
    950: '#000000',
  },
}
SCSS
$custom: #9ca64f;
$custom-light: #bbc083;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca64f",
  "rgb": {
    "r": 156,
    "g": 166,
    "b": 79
  },
  "hsl": {
    "h": 66.897,
    "s": 35.51,
    "l": 48.039
  },
  "oklch": {
    "l": 0.69841,
    "c": 0.11237,
    "h": 114.8
  },
  "luminance": 0.34905
}

Semantic roles & 50–950 ramp

primary
#9CA64F
secondary
#9893BE
accent
#5CCC69
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9CA64F

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

Preview Lab → · Contrast checker → · Palette generator →

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