#9CA02C#9CA02C

#9CA02C is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.1% C 0.134 H 111.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#9CA02C
RGBrgb(156, 160, 44)
HSLhsl(62, 57%, 40%)
HSVhsv(62, 73%, 63%)
CMYKcmyk(2.5%, 0%, 72.5%, 37.3%)
CIE-LABlab(63.67, -15.77, 56.38)
CIE-LCHlch(63.67, 58.55, 105.63°)
OKLaboklab(68.14% -0.0491 0.1249)
OKLCHoklch(68.14% 0.134 111.5)
XYZxyz(26.7366, 32.3921, 7.2263)
Luminance0.3239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA02C #302CA0
analogous
#A06A2C #9CA02C #62A02C
triadic
#9CA02C #2C9CA0 #A02C9C
tetradic
#9CA02C #2CA06A #302CA0 #A02C62
square
#9CA02C #2CA06A #302CA0 #A02C62
split-complementary
#9CA02C #2C62A0 #6A2CA0
monochromatic
#3E4012 #6D701F #9CA02C #C5CA3F #D4D76F

Accessibility & contrast

On white

2.81
#9CA02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#9CA02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA02C
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA02C#FFFFFF#000000##000000
##9CA02C1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9916
Deuteranopia (green-blind)
#AD9C35
Tritanopia (blue-blind)
#A7968A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ca02c;
/* rgb */ color: rgb(156, 160, 44);
/* oklch */ color: oklch(68.1% 0.134 111.5);
Tailwind
colors: {
  custom: {
    50: '#bcbb6e',
    500: '#9ca02c',
    950: '#000000',
  },
}
SCSS
$custom: #9ca02c;
$custom-light: #bcbb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca02c",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 62.069,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.68136,
    "c": 0.13418,
    "h": 111.5
  },
  "luminance": 0.32391
}

Semantic roles & 50–950 ramp

primary
#9CA02C
secondary
#6C69BF
accent
#48E04D
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9CA02C

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

Preview Lab → · Contrast checker → · Palette generator →

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