#9CA62D#9CA62D

#9CA62D is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.5% C 0.140 H 114.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#9CA62D
RGBrgb(156, 166, 45)
HSLhsl(65, 57%, 41%)
HSVhsv(65, 73%, 65%)
CMYKcmyk(6%, 0%, 72.9%, 34.9%)
CIE-LABlab(65.38, -18.80, 57.67)
CIE-LCHlch(65.38, 60.66, 108.05°)
OKLaboklab(69.51% -0.0574 0.1278)
OKLCHoklch(69.51% 0.14 114.2)
XYZxyz(27.8210, 34.5304, 7.6816)
Luminance0.3453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA62D #372DA6
analogous
#A6742D #9CA62D #60A62D
triadic
#9CA62D #2D9CA6 #A62D9C
tetradic
#9CA62D #2DA674 #372DA6 #A62D60
square
#9CA62D #2DA674 #372DA6 #A62D60
split-complementary
#9CA62D #2D60A6 #742DA6
monochromatic
#424613 #6F7620 #9CA62D #C1CC44 #D1D974

Accessibility & contrast

On white

2.66
#9CA62D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#9CA62D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA62D
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA62D#FFFFFF#000000##000000
##9CA62D1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E16
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#A69C8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9ca62d;
/* rgb */ color: rgb(156, 166, 45);
/* oklch */ color: oklch(69.5% 0.140 114.2);
Tailwind
colors: {
  custom: {
    50: '#bcc06f',
    500: '#9ca62d',
    950: '#000000',
  },
}
SCSS
$custom: #9ca62d;
$custom-light: #bcc06f;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca62d",
  "rgb": {
    "r": 156,
    "g": 166,
    "b": 45
  },
  "hsl": {
    "h": 64.959,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69511,
    "c": 0.14009,
    "h": 114.2
  },
  "luminance": 0.3453
}

Semantic roles & 50–950 ramp

primary
#9CA62D
secondary
#756EC1
accent
#47E154
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9CA62D

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

Preview Lab → · Contrast checker → · Palette generator →

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