#9CA247#9CA247

#9CA247 is a light, moderate yellow. Relative luminance 0.334; OKLCH L 68.8% C 0.115 H 112.5°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9CA247
RGBrgb(156, 162, 71)
HSLhsl(64, 39%, 46%)
HSVhsv(64, 56%, 64%)
CMYKcmyk(3.7%, 0%, 56.2%, 36.5%)
CIE-LABlab(64.45, -15.01, 45.74)
CIE-LCHlch(64.45, 48.15, 108.17°)
OKLaboklab(68.84% -0.0441 0.1064)
OKLCHoklch(68.84% 0.115 112.5)
XYZxyz(27.7686, 33.3641, 10.9371)
Luminance0.3336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA247 #4D47A2
analogous
#A27A47 #9CA247 #6EA247
triadic
#9CA247 #479CA2 #A2479C
tetradic
#9CA247 #47A27A #4D47A2 #A2476E
square
#9CA247 #47A27A #4D47A2 #A2476E
split-complementary
#9CA247 #476EA2 #7A47A2
monochromatic
#4A4D22 #737734 #9CA247 #B8BD69 #CCD094

Accessibility & contrast

On white

2.74
#9CA247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#9CA247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA247
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA247#FFFFFF#000000##000000
##9CA2471.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B3E
Deuteranopia (green-blind)
#AD9D4C
Tritanopia (blue-blind)
#A5998E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca247;
/* rgb */ color: rgb(156, 162, 71);
/* oklch */ color: oklch(68.8% 0.115 112.5);
Tailwind
colors: {
  custom: {
    50: '#bbbd7d',
    500: '#9ca247',
    950: '#000000',
  },
}
SCSS
$custom: #9ca247;
$custom-light: #bbbd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca247",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 71
  },
  "hsl": {
    "h": 63.956,
    "s": 39.056,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68837,
    "c": 0.11519,
    "h": 112.5
  },
  "luminance": 0.33364
}

Semantic roles & 50–950 ramp

primary
#9CA247
secondary
#8C89BC
accent
#59CF61
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9CA247

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

Preview Lab → · Contrast checker → · Palette generator →

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