#9CA01A#9CA01A

#9CA01A is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.0% C 0.143 H 111.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#9CA01A
RGBrgb(156, 160, 26)
HSLhsl(62, 72%, 36%)
HSVhsv(62, 84%, 63%)
CMYKcmyk(2.5%, 0%, 83.8%, 37.3%)
CIE-LABlab(63.58, -16.49, 61.89)
CIE-LCHlch(63.58, 64.05, 104.92°)
OKLaboklab(68.04% -0.0525 0.1333)
OKLCHoklch(68.04% 0.143 111.5)
XYZxyz(26.4685, 32.2848, 5.8144)
Luminance0.3228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA01A #1E1AA0
analogous
#A0611A #9CA01A #59A01A
triadic
#9CA01A #1A9CA0 #A01A9C
tetradic
#9CA01A #1AA061 #1E1AA0 #A01A59
square
#9CA01A #1AA061 #1E1AA0 #A01A59
split-complementary
#9CA01A #1A59A0 #611AA0
monochromatic
#353709 #696B11 #9CA01A #CFD523 #DEE352

Accessibility & contrast

On white

2.82
#9CA01A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#9CA01A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA01A
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA01A#FFFFFF#000000##000000
##9CA01A1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AE9B28
Tritanopia (blue-blind)
#A79588
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ca01a;
/* rgb */ color: rgb(156, 160, 26);
/* oklch */ color: oklch(68.0% 0.143 111.5);
Tailwind
colors: {
  custom: {
    50: '#bdbb66',
    500: '#9ca01a',
    950: '#000000',
  },
}
SCSS
$custom: #9ca01a;
$custom-light: #bdbb66;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca01a",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 26
  },
  "hsl": {
    "h": 61.791,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.68037,
    "c": 0.14332,
    "h": 111.5
  },
  "luminance": 0.32284
}

Semantic roles & 50–950 ramp

primary
#9CA01A
secondary
#5450C5
accent
#39EF3E
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9CA01A

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

Preview Lab → · Contrast checker → · Palette generator →

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