#9CA01B#9CA01B

#9CA01B 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#9CA01B
RGBrgb(156, 160, 27)
HSLhsl(62, 71%, 37%)
HSVhsv(62, 83%, 63%)
CMYKcmyk(2.5%, 0%, 83.1%, 37.3%)
CIE-LABlab(63.58, -16.46, 61.64)
CIE-LCHlch(63.58, 63.80, 104.95°)
OKLaboklab(68.04% -0.0524 0.133)
OKLCHoklch(68.04% 0.143 111.5)
XYZxyz(26.4799, 32.2894, 5.8743)
Luminance0.3229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA01B #1F1BA0
analogous
#A0621B #9CA01B #59A01B
triadic
#9CA01B #1B9CA0 #A01B9C
tetradic
#9CA01B #1BA062 #1F1BA0 #A01B59
square
#9CA01B #1BA062 #1F1BA0 #A01B59
split-complementary
#9CA01B #1B59A0 #621BA0
monochromatic
#363709 #696C12 #9CA01B #CFD424 #DEE253

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CA01B#FFFFFF#000000##000000
##9CA01B1.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)
#A79588
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9ca01b;
/* rgb */ color: rgb(156, 160, 27);
/* oklch */ color: oklch(68.0% 0.143 111.5);
Tailwind
colors: {
  custom: {
    50: '#bdbb66',
    500: '#9ca01b',
    950: '#000000',
  },
}
SCSS
$custom: #9ca01b;
$custom-light: #bdbb66;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca01b",
  "rgb": {
    "r": 156,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 61.805,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.68041,
    "c": 0.14293,
    "h": 111.5
  },
  "luminance": 0.32289
}

Semantic roles & 50–950 ramp

primary
#9CA01B
secondary
#5552C5
accent
#3AEE3F
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9CA01B

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

Preview Lab → · Contrast checker → · Palette generator →

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