#9CA162#9CA162

#9CA162 is a light, moderate yellow. Relative luminance 0.334; OKLCH L 69.0% C 0.085 H 112.3°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9CA162
RGBrgb(156, 161, 98)
HSLhsl(65, 25%, 51%)
HSVhsv(65, 39%, 63%)
CMYKcmyk(3.1%, 0%, 39.1%, 36.9%)
CIE-LABlab(64.52, -11.76, 32.20)
CIE-LCHlch(64.52, 34.28, 110.07°)
OKLaboklab(69% -0.0323 0.0787)
OKLCHoklch(69% 0.085 112.3)
XYZxyz(28.6600, 33.4399, 16.4977)
Luminance0.3344 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA162 #6762A1
analogous
#A18662 #9CA162 #7CA162
triadic
#9CA162 #629CA1 #A1629C
tetradic
#9CA162 #62A186 #6762A1 #A1627C
square
#9CA162 #62A186 #6762A1 #A1627C
split-complementary
#9CA162 #627CA1 #8662A1
monochromatic
#535533 #787C4A #9CA162 #B4B888 #CCCFAF

Accessibility & contrast

On white

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

On black

7.69
#9CA162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA162
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA162#FFFFFF#000000##000000
##9CA1621.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9C5D
Deuteranopia (green-blind)
#AA9D65
Tritanopia (blue-blind)
#A39A91
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca162;
/* rgb */ color: rgb(156, 161, 98);
/* oklch */ color: oklch(69.0% 0.085 112.3);
Tailwind
colors: {
  custom: {
    50: '#babc8f',
    500: '#9ca162',
    950: '#000000',
  },
}
SCSS
$custom: #9ca162;
$custom-light: #babc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca162",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 98
  },
  "hsl": {
    "h": 64.762,
    "s": 25.1,
    "l": 50.784
  },
  "oklch": {
    "l": 0.68997,
    "c": 0.08503,
    "h": 112.3
  },
  "luminance": 0.33439
}

Semantic roles & 50–950 ramp

primary
#9CA162
secondary
#A4A1BD
accent
#66C26E
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9CA162

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

Preview Lab → · Contrast checker → · Palette generator →

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