#9CA062#9CA062

#9CA062 is a light, moderate yellow. Relative luminance 0.331; OKLCH L 68.8% C 0.084 H 111.6°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9CA062
RGBrgb(156, 160, 98)
HSLhsl(64, 25%, 51%)
HSVhsv(64, 39%, 63%)
CMYKcmyk(2.5%, 0%, 38.8%, 37.3%)
CIE-LABlab(64.24, -11.23, 31.84)
CIE-LCHlch(64.24, 33.76, 109.44°)
OKLaboklab(68.77% -0.0308 0.0779)
OKLCHoklch(68.77% 0.084 111.6)
XYZxyz(28.4860, 33.0918, 16.4396)
Luminance0.3309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA062 #6662A0
analogous
#A08562 #9CA062 #7DA062
triadic
#9CA062 #629CA0 #A0629C
tetradic
#9CA062 #62A085 #6662A0 #A0627D
square
#9CA062 #62A085 #6662A0 #A0627D
split-complementary
#9CA062 #627DA0 #8562A0
monochromatic
#525433 #777B4A #9CA062 #B4B788 #CCCEAE

Accessibility & contrast

On white

2.76
#9CA062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#9CA062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA062
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA062#FFFFFF#000000##000000
##9CA0621.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99B5D
Deuteranopia (green-blind)
#A99D65
Tritanopia (blue-blind)
#A39991
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ca062;
/* rgb */ color: rgb(156, 160, 98);
/* oklch */ color: oklch(68.8% 0.084 111.6);
Tailwind
colors: {
  custom: {
    50: '#babc8f',
    500: '#9ca062',
    950: '#000000',
  },
}
SCSS
$custom: #9ca062;
$custom-light: #babc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca062",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 98
  },
  "hsl": {
    "h": 63.871,
    "s": 24.603,
    "l": 50.588
  },
  "oklch": {
    "l": 0.68774,
    "c": 0.08371,
    "h": 111.6
  },
  "luminance": 0.33091
}

Semantic roles & 50–950 ramp

primary
#9CA062
secondary
#A3A1BD
accent
#67C16D
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9CA062

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

Preview Lab → · Contrast checker → · Palette generator →

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