#8CA01C#8CA01C

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

Color values

HEX#8CA01C
RGBrgb(140, 160, 28)
HSLhsl(69, 70%, 37%)
HSVhsv(69, 83%, 63%)
CMYKcmyk(12.5%, 0%, 82.5%, 37.3%)
CIE-LABlab(62.34, -23.42, 59.81)
CIE-LCHlch(62.34, 64.24, 111.39°)
OKLaboklab(66.74% -0.0707 0.1299)
OKLCHoklch(66.74% 0.148 118.6)
XYZxyz(23.5962, 30.8011, 5.8005)
Luminance0.3080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA01C #301CA0
analogous
#A0721C #8CA01C #4AA01C
triadic
#8CA01C #1C8CA0 #A01C8C
tetradic
#8CA01C #1CA072 #301CA0 #A01C4A
square
#8CA01C #1CA072 #301CA0 #A01C4A
split-complementary
#8CA01C #1C4AA0 #721CA0
monochromatic
#31380A #5E6C13 #8CA01C #BAD425 #CCE155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA01C#FFFFFF#000000##000000
##8CA01C1.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)
#A9972A
Tritanopia (blue-blind)
#959788
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ca01c;
/* rgb */ color: rgb(140, 160, 28);
/* oklch */ color: oklch(66.7% 0.148 118.6);
Tailwind
colors: {
  custom: {
    50: '#b1bc66',
    500: '#8ca01c',
    950: '#000000',
  },
}
SCSS
$custom: #8ca01c;
$custom-light: #b1bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca01c",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 69.091,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66736,
    "c": 0.14788,
    "h": 118.6
  },
  "luminance": 0.30801
}

Semantic roles & 50–950 ramp

primary
#8CA01C
secondary
#6453C4
accent
#3BED56
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8CA01C

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

Preview Lab → · Contrast checker → · Palette generator →

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