#8CAF20#8CAF20

#8CAF20 is a light, vivid yellow-green. Relative luminance 0.363; OKLCH L 70.3% C 0.164 H 123.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8CAF20
RGBrgb(140, 175, 32)
HSLhsl(75, 69%, 41%)
HSVhsv(75, 82%, 69%)
CMYKcmyk(20%, 0%, 81.7%, 31.4%)
CIE-LABlab(66.78, -30.55, 62.64)
CIE-LCHlch(66.78, 69.69, 116.00°)
OKLaboklab(70.33% -0.0899 0.1366)
OKLCHoklch(70.33% 0.164 123.3)
XYZxyz(26.4063, 36.3395, 6.9893)
Luminance0.3634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CAF20 #4320AF
analogous
#AF8A20 #8CAF20 #45AF20
triadic
#8CAF20 #208CAF #AF208C
tetradic
#8CAF20 #20AF8A #4320AF #AF2045
square
#8CAF20 #20AF8A #4320AF #AF2045
split-complementary
#8CAF20 #2045AF #8A20AF
monochromatic
#39480D #637B17 #8CAF20 #B1DA33 #C5E366

Accessibility & contrast

On white

2.54
#8CAF20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#8CAF20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CAF20
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CAF20#FFFFFF#000000##000000
##8CAF201.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA300
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#93A695
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8caf20;
/* rgb */ color: rgb(140, 175, 32);
/* oklch */ color: oklch(70.3% 0.164 123.3);
Tailwind
colors: {
  custom: {
    50: '#b2c76a',
    500: '#8caf20',
    950: '#000000',
  },
}
SCSS
$custom: #8caf20;
$custom-light: #b2c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#8caf20",
  "rgb": {
    "r": 140,
    "g": 175,
    "b": 32
  },
  "hsl": {
    "h": 74.685,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.70325,
    "c": 0.16351,
    "h": 123.3
  },
  "luminance": 0.3634
}

Semantic roles & 50–950 ramp

primary
#8CAF20
secondary
#7B62C8
accent
#3CEC67
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8CAF20

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

Preview Lab → · Contrast checker → · Palette generator →

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