#9CA562#9CA562

#9CA562 is a light, moderate yellow. Relative luminance 0.349; OKLCH L 69.9% C 0.090 H 115.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#9CA562
RGBrgb(156, 165, 98)
HSLhsl(68, 27%, 52%)
HSVhsv(68, 41%, 65%)
CMYKcmyk(5.5%, 0%, 40.6%, 35.3%)
CIE-LABlab(65.64, -13.86, 33.63)
CIE-LCHlch(65.64, 36.37, 112.40°)
OKLaboklab(69.89% -0.0383 0.0819)
OKLCHoklch(69.89% 0.09 115)
XYZxyz(29.3703, 34.8603, 16.7344)
Luminance0.3486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA562 #6B62A5
analogous
#A58D62 #9CA562 #7BA562
triadic
#9CA562 #629CA5 #A5629C
tetradic
#9CA562 #62A58D #6B62A5 #A5627B
square
#9CA562 #62A58D #6B62A5 #A5627B
split-complementary
#9CA562 #627BA5 #8D62A5
monochromatic
#545933 #79804A #9CA562 #B5BB89 #CDD2B0

Accessibility & contrast

On white

2.63
#9CA562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#9CA562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA562
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA562#FFFFFF#000000##000000
##9CA5621.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F5D
Deuteranopia (green-blind)
#ADA065
Tritanopia (blue-blind)
#A39E95
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca562;
/* rgb */ color: rgb(156, 165, 98);
/* oklch */ color: oklch(69.9% 0.090 115.0);
Tailwind
colors: {
  custom: {
    50: '#babf90',
    500: '#9ca562',
    950: '#000000',
  },
}
SCSS
$custom: #9ca562;
$custom-light: #babf90;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca562",
  "rgb": {
    "r": 156,
    "g": 165,
    "b": 98
  },
  "hsl": {
    "h": 68.06,
    "s": 27.126,
    "l": 51.569
  },
  "oklch": {
    "l": 0.69893,
    "c": 0.09041,
    "h": 115
  },
  "luminance": 0.3486
}

Semantic roles & 50–950 ramp

primary
#9CA562
secondary
#A7A3C0
accent
#64C371
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9CA562

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

Preview Lab → · Contrast checker → · Palette generator →

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