#9CA252#9CA252

#9CA252 is a light, moderate yellow. Relative luminance 0.335; OKLCH L 69.0% C 0.104 H 112.6°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9CA252
RGBrgb(156, 162, 82)
HSLhsl(65, 33%, 48%)
HSVhsv(65, 49%, 64%)
CMYKcmyk(3.7%, 0%, 49.4%, 36.5%)
CIE-LABlab(64.58, -14.02, 40.53)
CIE-LCHlch(64.58, 42.88, 109.08°)
OKLaboklab(68.98% -0.0401 0.0962)
OKLCHoklch(68.98% 0.104 112.6)
XYZxyz(28.1541, 33.5183, 12.9676)
Luminance0.3352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA252 #5852A2
analogous
#A28052 #9CA252 #74A252
triadic
#9CA252 #529CA2 #A2529C
tetradic
#9CA252 #52A280 #5852A2 #A25274
square
#9CA252 #52A280 #5852A2 #A25274
split-complementary
#9CA252 #5274A2 #8052A2
monochromatic
#4E5129 #75793D #9CA252 #B5BA77 #CBCFA0

Accessibility & contrast

On white

2.73
#9CA252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#9CA252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA252
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA252#FFFFFF#000000##000000
##9CA2521.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C4B
Deuteranopia (green-blind)
#AC9E56
Tritanopia (blue-blind)
#A59A90
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ca252;
/* rgb */ color: rgb(156, 162, 82);
/* oklch */ color: oklch(69.0% 0.104 112.6);
Tailwind
colors: {
  custom: {
    50: '#bbbd85',
    500: '#9ca252',
    950: '#000000',
  },
}
SCSS
$custom: #9ca252;
$custom-light: #bbbd85;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca252",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 64.5,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68976,
    "c": 0.10425,
    "h": 112.6
  },
  "luminance": 0.33518
}

Semantic roles & 50–950 ramp

primary
#9CA252
secondary
#9794BC
accent
#5FC967
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9CA252

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

Preview Lab → · Contrast checker → · Palette generator →

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