#8CA018#8CA018

#8CA018 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#8CA018
RGBrgb(140, 160, 24)
HSLhsl(69, 74%, 36%)
HSVhsv(69, 85%, 63%)
CMYKcmyk(12.5%, 0%, 85%, 37.3%)
CIE-LABlab(62.32, -23.56, 60.82)
CIE-LCHlch(62.32, 65.22, 111.17°)
OKLaboklab(66.72% -0.0713 0.1314)
OKLCHoklch(66.72% 0.149 118.5)
XYZxyz(23.5515, 30.7832, 5.5650)
Luminance0.3078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA018 #2C18A0
analogous
#A07018 #8CA018 #48A018
triadic
#8CA018 #188CA0 #A0188C
tetradic
#8CA018 #18A070 #2C18A0 #A01848
square
#8CA018 #18A070 #2C18A0 #A01848
split-complementary
#8CA018 #1848A0 #7018A0
monochromatic
#2F3608 #5D6B10 #8CA018 #BBD520 #CEE44E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #8ca018;
/* rgb */ color: rgb(140, 160, 24);
/* oklch */ color: oklch(66.7% 0.149 118.5);
Tailwind
colors: {
  custom: {
    50: '#b1bc65',
    500: '#8ca018',
    950: '#000000',
  },
}
SCSS
$custom: #8ca018;
$custom-light: #b1bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca018",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 24
  },
  "hsl": {
    "h": 68.824,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.66719,
    "c": 0.14948,
    "h": 118.5
  },
  "luminance": 0.30783
}

Semantic roles & 50–950 ramp

primary
#8CA018
secondary
#5F4DC6
accent
#37F152
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111206
muted
#80817A

Preview Lab

Preview with #8CA018

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

Preview Lab → · Contrast checker → · Palette generator →

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