#9CA11B#9CA11B

#9CA11B is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.144 H 112.0°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#9CA11B
RGBrgb(156, 161, 27)
HSLhsl(62, 71%, 37%)
HSVhsv(62, 83%, 63%)
CMYKcmyk(3.1%, 0%, 83.2%, 36.9%)
CIE-LABlab(63.87, -16.98, 61.88)
CIE-LCHlch(63.87, 64.17, 105.34°)
OKLaboklab(68.27% -0.0538 0.1335)
OKLCHoklch(68.27% 0.144 112)
XYZxyz(26.6540, 32.6375, 5.9323)
Luminance0.3264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CA11B #201BA1
analogous
#A1631B #9CA11B #59A11B
triadic
#9CA11B #1B9CA1 #A11B9C
tetradic
#9CA11B #1BA163 #201BA1 #A11B59
square
#9CA11B #1BA163 #201BA1 #A11B59
split-complementary
#9CA11B #1B59A1 #631BA1
monochromatic
#363809 #696D12 #9CA11B #CFD524 #DDE254

Accessibility & contrast

On white

2.79
#9CA11B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#9CA11B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CA11B
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CA11B#FFFFFF#000000##000000
##9CA11B1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#AF9C29
Tritanopia (blue-blind)
#A79789
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9ca11b;
/* rgb */ color: rgb(156, 161, 27);
/* oklch */ color: oklch(68.3% 0.144 112.0);
Tailwind
colors: {
  custom: {
    50: '#bdbc66',
    500: '#9ca11b',
    950: '#000000',
  },
}
SCSS
$custom: #9ca11b;
$custom-light: #bdbc66;
$custom-dark: #000000;
JSON
{
  "hex": "#9ca11b",
  "rgb": {
    "r": 156,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 62.239,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.68269,
    "c": 0.14394,
    "h": 112
  },
  "luminance": 0.32637
}

Semantic roles & 50–950 ramp

primary
#9CA11B
secondary
#5752C5
accent
#3AEE41
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9CA11B

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

Preview Lab → · Contrast checker → · Palette generator →

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