#8CA818#8CA818

#8CA818 is a light, vivid yellow-green. Relative luminance 0.336; OKLCH L 68.6% C 0.159 H 121.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#8CA818
RGBrgb(140, 168, 24)
HSLhsl(72, 75%, 38%)
HSVhsv(72, 86%, 66%)
CMYKcmyk(16.7%, 0%, 85.7%, 34.1%)
CIE-LABlab(64.68, -27.48, 62.82)
CIE-LCHlch(64.68, 68.57, 113.62°)
OKLaboklab(68.62% -0.082 0.1357)
OKLCHoklch(68.62% 0.159 121.1)
XYZxyz(24.9832, 33.6467, 6.0423)
Luminance0.3365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA818 #3418A8
analogous
#A87C18 #8CA818 #44A818
triadic
#8CA818 #188CA8 #A8188C
tetradic
#8CA818 #18A87C #3418A8 #A81844
square
#8CA818 #18A87C #3418A8 #A81844
split-complementary
#8CA818 #1844A8 #7C18A8
monochromatic
#333D09 #5F7210 #8CA818 #B9DE20 #CAE754

Accessibility & contrast

On white

2.72
#8CA818 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#8CA818 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA818
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA818#FFFFFF#000000##000000
##8CA8181.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#AF9D29
Tritanopia (blue-blind)
#949F8F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8ca818;
/* rgb */ color: rgb(140, 168, 24);
/* oklch */ color: oklch(68.6% 0.159 121.1);
Tailwind
colors: {
  custom: {
    50: '#b2c166',
    500: '#8ca818',
    950: '#000000',
  },
}
SCSS
$custom: #8ca818;
$custom-light: #b2c166;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca818",
  "rgb": {
    "r": 140,
    "g": 168,
    "b": 24
  },
  "hsl": {
    "h": 71.667,
    "s": 75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6862,
    "c": 0.15854,
    "h": 121.1
  },
  "luminance": 0.33647
}

Semantic roles & 50–950 ramp

primary
#8CA818
secondary
#6A53C9
accent
#36F25B
background
#FBFBF6
surface
#F6F7EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA818

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

Preview Lab → · Contrast checker → · Palette generator →

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