#9CA02A#9CA02A

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

Color values

HEX#9CA02A
RGBrgb(156, 160, 42)
HSLhsl(62, 58%, 40%)
HSVhsv(62, 74%, 63%)
CMYKcmyk(2.5%, 0%, 73.8%, 37.3%)
CIE-LABlab(63.65, -15.87, 57.09)
CIE-LCHlch(63.65, 59.25, 105.54°)
OKLaboklab(68.12% -0.0495 0.126)
OKLCHoklch(68.12% 0.135 111.5)
XYZxyz(26.6999, 32.3774, 7.0330)
Luminance0.3238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA02A #2E2AA0
analogous
#A0692A #9CA02A #61A02A
triadic
#9CA02A #2A9CA0 #A02A9C
tetradic
#9CA02A #2AA069 #2E2AA0 #A02A61
square
#9CA02A #2AA069 #2E2AA0 #A02A61
split-complementary
#9CA02A #2A61A0 #692AA0
monochromatic
#3D3F11 #6D701D #9CA02A #C7CC3C #D5D86C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA02A#FFFFFF#000000##000000
##9CA02A1.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)
#AD9912
Deuteranopia (green-blind)
#AD9C33
Tritanopia (blue-blind)
#A79689
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ca02a;
/* rgb */ color: rgb(156, 160, 42);
/* oklch */ color: oklch(68.1% 0.135 111.5);
Tailwind
colors: {
  custom: {
    50: '#bdbb6d',
    500: '#9ca02a',
    950: '#000000',
  },
}
SCSS
$custom: #9ca02a;
$custom-light: #bdbb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca02a",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 62.034,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68122,
    "c": 0.13541,
    "h": 111.5
  },
  "luminance": 0.32377
}

Semantic roles & 50–950 ramp

primary
#9CA02A
secondary
#6A67BF
accent
#46E24B
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9CA02A

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

Preview Lab → · Contrast checker → · Palette generator →

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