#8CA01D#8CA01D

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

Color values

HEX#8CA01D
RGBrgb(140, 160, 29)
HSLhsl(69, 69%, 37%)
HSVhsv(69, 82%, 63%)
CMYKcmyk(12.5%, 0%, 81.9%, 37.3%)
CIE-LABlab(62.34, -23.39, 59.54)
CIE-LCHlch(62.34, 63.97, 111.44°)
OKLaboklab(66.74% -0.0705 0.1295)
OKLCHoklch(66.74% 0.147 118.6)
XYZxyz(23.6084, 30.8060, 5.8646)
Luminance0.3081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA01D #311DA0
analogous
#A0721D #8CA01D #4BA01D
triadic
#8CA01D #1D8CA0 #A01D8C
tetradic
#8CA01D #1DA072 #311DA0 #A01D4B
square
#8CA01D #1DA072 #311DA0 #A01D4B
split-complementary
#8CA01D #1D4BA0 #721DA0
monochromatic
#31380A #5F6C14 #8CA01D #B9D426 #CCE157

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8ca01d;
/* rgb */ color: rgb(140, 160, 29);
/* oklch */ color: oklch(66.7% 0.147 118.6);
Tailwind
colors: {
  custom: {
    50: '#b1bc66',
    500: '#8ca01d',
    950: '#000000',
  },
}
SCSS
$custom: #8ca01d;
$custom-light: #b1bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca01d",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 29
  },
  "hsl": {
    "h": 69.16,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6674,
    "c": 0.14743,
    "h": 118.6
  },
  "luminance": 0.30806
}

Semantic roles & 50–950 ramp

primary
#8CA01D
secondary
#6655C4
accent
#3CEC57
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA01D

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

Preview Lab → · Contrast checker → · Palette generator →

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