#8CA01B#8CA01B

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

Color values

HEX#8CA01B
RGBrgb(140, 160, 27)
HSLhsl(69, 71%, 37%)
HSVhsv(69, 83%, 63%)
CMYKcmyk(12.5%, 0%, 83.1%, 37.3%)
CIE-LABlab(62.34, -23.46, 60.08)
CIE-LCHlch(62.34, 64.49, 111.33°)
OKLaboklab(66.73% -0.0708 0.1303)
OKLCHoklch(66.73% 0.148 118.5)
XYZxyz(23.5844, 30.7964, 5.7386)
Luminance0.3080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA01B #2F1BA0
analogous
#A0721B #8CA01B #49A01B
triadic
#8CA01B #1B8CA0 #A01B8C
tetradic
#8CA01B #1BA072 #2F1BA0 #A01B49
square
#8CA01B #1BA072 #2F1BA0 #A01B49
split-complementary
#8CA01B #1B49A0 #721BA0
monochromatic
#303709 #5E6C12 #8CA01B #BAD424 #CDE253

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CA01B#FFFFFF#000000##000000
##8CA01B1.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: #8ca01b;
/* rgb */ color: rgb(140, 160, 27);
/* oklch */ color: oklch(66.7% 0.148 118.5);
Tailwind
colors: {
  custom: {
    50: '#b1bc66',
    500: '#8ca01b',
    950: '#000000',
  },
}
SCSS
$custom: #8ca01b;
$custom-light: #b1bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca01b",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 69.023,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66731,
    "c": 0.14829,
    "h": 118.5
  },
  "luminance": 0.30796
}

Semantic roles & 50–950 ramp

primary
#8CA01B
secondary
#6352C5
accent
#3AEE55
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8CA01B

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

Preview Lab → · Contrast checker → · Palette generator →

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