#8CA11B#8CA11B

#8CA11B is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.0% C 0.149 H 118.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8CA11B
RGBrgb(140, 161, 27)
HSLhsl(69, 71%, 37%)
HSVhsv(69, 83%, 63%)
CMYKcmyk(13%, 0%, 83.2%, 36.9%)
CIE-LABlab(62.63, -23.95, 60.33)
CIE-LCHlch(62.63, 64.91, 111.66°)
OKLaboklab(66.97% -0.0722 0.1308)
OKLCHoklch(66.97% 0.149 118.9)
XYZxyz(23.7585, 31.1445, 5.7966)
Luminance0.3114 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA11B #301BA1
analogous
#A1731B #8CA11B #49A11B
triadic
#8CA11B #1B8CA1 #A11B8C
tetradic
#8CA11B #1BA173 #301BA1 #A11B49
square
#8CA11B #1BA173 #301BA1 #A11B49
split-complementary
#8CA11B #1B49A1 #731BA1
monochromatic
#313809 #5E6D12 #8CA11B #BAD524 #CCE254

Accessibility & contrast

On white

2.91
#8CA11B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#8CA11B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA11B
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA11B#FFFFFF#000000##000000
##8CA11B1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#AA982A
Tritanopia (blue-blind)
#959889
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ca11b;
/* rgb */ color: rgb(140, 161, 27);
/* oklch */ color: oklch(67.0% 0.149 118.9);
Tailwind
colors: {
  custom: {
    50: '#b1bc66',
    500: '#8ca11b',
    950: '#000000',
  },
}
SCSS
$custom: #8ca11b;
$custom-light: #b1bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca11b",
  "rgb": {
    "r": 140,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 69.403,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66968,
    "c": 0.14942,
    "h": 118.9
  },
  "luminance": 0.31144
}

Semantic roles & 50–950 ramp

primary
#8CA11B
secondary
#6452C5
accent
#3AEE56
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8CA11B

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

Preview Lab → · Contrast checker → · Palette generator →

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