#9CA01C#9CA01C

#9CA01C 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#9CA01C
RGBrgb(156, 160, 28)
HSLhsl(62, 70%, 37%)
HSVhsv(62, 83%, 63%)
CMYKcmyk(2.5%, 0%, 82.5%, 37.3%)
CIE-LABlab(63.59, -16.43, 61.38)
CIE-LCHlch(63.59, 63.54, 104.99°)
OKLaboklab(68.05% -0.0522 0.1326)
OKLCHoklch(68.05% 0.143 111.5)
XYZxyz(26.4917, 32.2941, 5.9363)
Luminance0.3229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA01C #201CA0
analogous
#A0621C #9CA01C #5AA01C
triadic
#9CA01C #1C9CA0 #A01C9C
tetradic
#9CA01C #1CA062 #201CA0 #A01C5A
square
#9CA01C #1CA062 #201CA0 #A01C5A
split-complementary
#9CA01C #1C5AA0 #621CA0
monochromatic
#36380A #696C13 #9CA01C #CFD425 #DDE155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA01C#FFFFFF#000000##000000
##9CA01C1.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)
#AE9B29
Tritanopia (blue-blind)
#A79688
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ca01c;
/* rgb */ color: rgb(156, 160, 28);
/* oklch */ color: oklch(68.0% 0.143 111.5);
Tailwind
colors: {
  custom: {
    50: '#bdbb66',
    500: '#9ca01c',
    950: '#000000',
  },
}
SCSS
$custom: #9ca01c;
$custom-light: #bdbb66;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca01c",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 61.818,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.68046,
    "c": 0.14252,
    "h": 111.5
  },
  "luminance": 0.32293
}

Semantic roles & 50–950 ramp

primary
#9CA01C
secondary
#5753C4
accent
#3BED40
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9CA01C

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

Preview Lab → · Contrast checker → · Palette generator →

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