#9CA255#9CA255

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

Color values

HEX#9CA255
RGBrgb(156, 162, 85)
HSLhsl(65, 31%, 48%)
HSVhsv(65, 48%, 64%)
CMYKcmyk(3.7%, 0%, 47.5%, 36.5%)
CIE-LABlab(64.62, -13.72, 39.06)
CIE-LCHlch(64.62, 41.40, 109.35°)
OKLaboklab(69.02% -0.039 0.0933)
OKLCHoklch(69.02% 0.101 112.7)
XYZxyz(28.2708, 33.5649, 13.5820)
Luminance0.3356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA255 #5B55A2
analogous
#A28155 #9CA255 #75A255
triadic
#9CA255 #559CA2 #A2559C
tetradic
#9CA255 #55A281 #5B55A2 #A25575
square
#9CA255 #55A281 #5B55A2 #A25575
split-complementary
#9CA255 #5575A2 #8155A2
monochromatic
#4F522B #757A40 #9CA255 #B5BA7B #CBCFA3

Accessibility & contrast

On white

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

On black

7.71
#9CA255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA255
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA255#FFFFFF#000000##000000
##9CA2551.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9ca255;
/* rgb */ color: rgb(156, 162, 85);
/* oklch */ color: oklch(69.0% 0.101 112.7);
Tailwind
colors: {
  custom: {
    50: '#bbbd87',
    500: '#9ca255',
    950: '#000000',
  },
}
SCSS
$custom: #9ca255;
$custom-light: #bbbd87;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca255",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 85
  },
  "hsl": {
    "h": 64.675,
    "s": 31.174,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69018,
    "c": 0.10107,
    "h": 112.7
  },
  "luminance": 0.33564
}

Semantic roles & 50–950 ramp

primary
#9CA255
secondary
#9A97BC
accent
#60C768
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9CA255

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

Preview Lab → · Contrast checker → · Palette generator →

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