#9CA262#9CA262

#9CA262 is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.2% C 0.086 H 113.0°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#9CA262
RGBrgb(156, 162, 98)
HSLhsl(66, 26%, 51%)
HSVhsv(66, 40%, 64%)
CMYKcmyk(3.7%, 0%, 39.5%, 36.5%)
CIE-LABlab(64.80, -12.29, 32.55)
CIE-LCHlch(64.80, 34.80, 110.68°)
OKLaboklab(69.22% -0.0338 0.0795)
OKLCHoklch(69.22% 0.086 113)
XYZxyz(28.8355, 33.7908, 16.5561)
Luminance0.3379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA262 #6862A2
analogous
#A28862 #9CA262 #7CA262
triadic
#9CA262 #629CA2 #A2629C
tetradic
#9CA262 #62A288 #6862A2 #A2627C
square
#9CA262 #62A288 #6862A2 #A2627C
split-complementary
#9CA262 #627CA2 #8862A2
monochromatic
#535633 #787D4A #9CA262 #B4B988 #CCD0AF

Accessibility & contrast

On white

2.71
#9CA262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#9CA262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA262
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA262#FFFFFF#000000##000000
##9CA2621.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9C5D
Deuteranopia (green-blind)
#AB9E65
Tritanopia (blue-blind)
#A39B92
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9ca262;
/* rgb */ color: rgb(156, 162, 98);
/* oklch */ color: oklch(69.2% 0.086 113.0);
Tailwind
colors: {
  custom: {
    50: '#babd8f',
    500: '#9ca262',
    950: '#000000',
  },
}
SCSS
$custom: #9ca262;
$custom-light: #babd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca262",
  "rgb": {
    "r": 156,
    "g": 162,
    "b": 98
  },
  "hsl": {
    "h": 65.625,
    "s": 25.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.69221,
    "c": 0.08636,
    "h": 113
  },
  "luminance": 0.3379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9CA262

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

Preview Lab → · Contrast checker → · Palette generator →

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