#9CA85E#9CA85E

#9CA85E is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.5% C 0.099 H 116.6°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#9CA85E
RGBrgb(156, 168, 94)
HSLhsl(70, 30%, 51%)
HSVhsv(70, 44%, 66%)
CMYKcmyk(7.1%, 0%, 44%, 34.1%)
CIE-LABlab(66.43, -15.88, 36.70)
CIE-LCHlch(66.43, 39.98, 113.40°)
OKLaboklab(70.51% -0.0443 0.0886)
OKLCHoklch(70.51% 0.099 116.6)
XYZxyz(29.7336, 35.8816, 15.9470)
Luminance0.3588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA85E #6A5EA8
analogous
#A88F5E #9CA85E #77A85E
triadic
#9CA85E #5E9CA8 #A85E9C
tetradic
#9CA85E #5EA88F #6A5EA8 #A85E77
square
#9CA85E #5EA88F #6A5EA8 #A85E77
split-complementary
#9CA85E #5E77A8 #8F5EA8
monochromatic
#545B31 #798246 #9CA85E #B4BD86 #CDD3AD

Accessibility & contrast

On white

2.57
#9CA85E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#9CA85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA85E
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA85E#FFFFFF#000000##000000
##9CA85E1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A158
Deuteranopia (green-blind)
#B0A262
Tritanopia (blue-blind)
#A3A196
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ca85e;
/* rgb */ color: rgb(156, 168, 94);
/* oklch */ color: oklch(70.5% 0.099 116.6);
Tailwind
colors: {
  custom: {
    50: '#bac18d',
    500: '#9ca85e',
    950: '#000000',
  },
}
SCSS
$custom: #9ca85e;
$custom-light: #bac18d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca85e",
  "rgb": {
    "r": 156,
    "g": 168,
    "b": 94
  },
  "hsl": {
    "h": 69.73,
    "s": 29.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.70505,
    "c": 0.09908,
    "h": 116.6
  },
  "luminance": 0.35881
}

Semantic roles & 50–950 ramp

primary
#9CA85E
secondary
#A6A1C1
accent
#62C672
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9CA85E

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

Preview Lab → · Contrast checker → · Palette generator →

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