#9CA256#9CA256

#9CA256 is a light, moderate yellow. Relative luminance 0.336; OKLCH L 69.0% C 0.100 H 112.7°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#9CA256
RGBrgb(156, 162, 86)
HSLhsl(65, 31%, 49%)
HSVhsv(65, 47%, 64%)
CMYKcmyk(3.7%, 0%, 46.9%, 36.5%)
CIE-LABlab(64.63, -13.62, 38.57)
CIE-LCHlch(64.63, 40.90, 109.45°)
OKLaboklab(69.03% -0.0386 0.0922)
OKLCHoklch(69.03% 0.1 112.7)
XYZxyz(28.3108, 33.5809, 13.7927)
Luminance0.3358 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA256 #5C56A2
analogous
#A28256 #9CA256 #76A256
triadic
#9CA256 #569CA2 #A2569C
tetradic
#9CA256 #56A282 #5C56A2 #A25676
square
#9CA256 #56A282 #5C56A2 #A25676
split-complementary
#9CA256 #5676A2 #8256A2
monochromatic
#4F522C #767A41 #9CA256 #B5B97C #CBCFA4

Accessibility & contrast

On white

2.72
#9CA256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#9CA256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA256
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA256#FFFFFF#000000##000000
##9CA2561.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C50
Deuteranopia (green-blind)
#AC9E5A
Tritanopia (blue-blind)
#A49A90
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ca256;
/* rgb */ color: rgb(156, 162, 86);
/* oklch */ color: oklch(69.0% 0.100 112.7);
Tailwind
colors: {
  custom: {
    50: '#bbbd87',
    500: '#9ca256',
    950: '#000000',
  },
}
SCSS
$custom: #9ca256;
$custom-light: #bbbd87;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca256",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 86
  },
  "hsl": {
    "h": 64.737,
    "s": 30.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69033,
    "c": 0.09998,
    "h": 112.7
  },
  "luminance": 0.3358
}

Semantic roles & 50–950 ramp

primary
#9CA256
secondary
#9B98BC
accent
#61C769
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120B
muted
#81817C

Preview Lab

Preview with #9CA256

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

Preview Lab → · Contrast checker → · Palette generator →

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