#8CA01A#8CA01A

#8CA01A is a light, vivid yellow. Relative luminance 0.308; OKLCH L 66.7% C 0.149 H 118.5°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8CA01A
RGBrgb(140, 160, 26)
HSLhsl(69, 72%, 36%)
HSVhsv(69, 84%, 63%)
CMYKcmyk(12.5%, 0%, 83.8%, 37.3%)
CIE-LABlab(62.33, -23.49, 60.33)
CIE-LCHlch(62.33, 64.74, 111.27°)
OKLaboklab(66.73% -0.071 0.1307)
OKLCHoklch(66.73% 0.149 118.5)
XYZxyz(23.5731, 30.7918, 5.6787)
Luminance0.3079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA01A #2E1AA0
analogous
#A0711A #8CA01A #49A01A
triadic
#8CA01A #1A8CA0 #A01A8C
tetradic
#8CA01A #1AA071 #2E1AA0 #A01A49
square
#8CA01A #1AA071 #2E1AA0 #A01A49
split-complementary
#8CA01A #1A49A0 #711AA0
monochromatic
#303709 #5E6B11 #8CA01A #BAD523 #CDE352

Accessibility & contrast

On white

2.93
#8CA01A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#8CA01A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA01A
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA01A#FFFFFF#000000##000000
##8CA01A1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A99729
Tritanopia (blue-blind)
#959788
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ca01a;
/* rgb */ color: rgb(140, 160, 26);
/* oklch */ color: oklch(66.7% 0.149 118.5);
Tailwind
colors: {
  custom: {
    50: '#b1bc65',
    500: '#8ca01a',
    950: '#000000',
  },
}
SCSS
$custom: #8ca01a;
$custom-light: #b1bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca01a",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 26
  },
  "hsl": {
    "h": 68.955,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66727,
    "c": 0.1487,
    "h": 118.5
  },
  "luminance": 0.30792
}

Semantic roles & 50–950 ramp

primary
#8CA01A
secondary
#6250C5
accent
#39EF54
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8CA01A

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

Preview Lab → · Contrast checker → · Palette generator →

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