#9CA952#9CA952

#9CA952 is a light, moderate yellow. Relative luminance 0.361; OKLCH L 70.6% C 0.113 H 116.4°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#9CA952
RGBrgb(156, 169, 82)
HSLhsl(69, 35%, 49%)
HSVhsv(69, 51%, 66%)
CMYKcmyk(7.7%, 0%, 51.5%, 33.7%)
CIE-LABlab(66.56, -17.63, 42.89)
CIE-LCHlch(66.56, 46.37, 112.35°)
OKLaboklab(70.56% -0.0504 0.1014)
OKLCHoklch(70.56% 0.113 116.4)
XYZxyz(29.4217, 36.0534, 13.3901)
Luminance0.3605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA952 #5F52A9
analogous
#A98B52 #9CA952 #71A952
triadic
#9CA952 #529CA9 #A9529C
tetradic
#9CA952 #52A98B #5F52A9 #A95271
square
#9CA952 #52A98B #5F52A9 #A95271
split-complementary
#9CA952 #5271A9 #8B52A9
monochromatic
#50572A #76803E #9CA952 #B4BE7A #CBD2A3

Accessibility & contrast

On white

2.56
#9CA952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#9CA952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA952
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA952#FFFFFF#000000##000000
##9CA9521.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A14A
Deuteranopia (green-blind)
#B2A357
Tritanopia (blue-blind)
#A4A195
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9ca952;
/* rgb */ color: rgb(156, 169, 82);
/* oklch */ color: oklch(70.6% 0.113 116.4);
Tailwind
colors: {
  custom: {
    50: '#bbc285',
    500: '#9ca952',
    950: '#000000',
  },
}
SCSS
$custom: #9ca952;
$custom-light: #bbc285;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca952",
  "rgb": {
    "r": 156,
    "g": 169,
    "b": 82
  },
  "hsl": {
    "h": 68.966,
    "s": 34.661,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70561,
    "c": 0.1132,
    "h": 116.4
  },
  "luminance": 0.36053
}

Semantic roles & 50–950 ramp

primary
#9CA952
secondary
#9D97C0
accent
#5DCB6D
background
#FBFBF8
surface
#F6F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9CA952

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

Preview Lab → · Contrast checker → · Palette generator →

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