#8CAF2D#8CAF2D

#8CAF2D is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.4% C 0.157 H 123.8°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8CAF2D
RGBrgb(140, 175, 45)
HSLhsl(76, 59%, 43%)
HSVhsv(76, 74%, 69%)
CMYKcmyk(20%, 0%, 74.3%, 31.4%)
CIE-LABlab(66.84, -29.95, 58.68)
CIE-LCHlch(66.84, 65.88, 117.04°)
OKLaboklab(70.4% -0.0873 0.1304)
OKLCHoklch(70.4% 0.157 123.8)
XYZxyz(26.6191, 36.4247, 8.1104)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CAF2D #502DAF
analogous
#AF912D #8CAF2D #4BAF2D
triadic
#8CAF2D #2D8CAF #AF2D8C
tetradic
#8CAF2D #2DAF91 #502DAF #AF2D4B
square
#8CAF2D #2DAF91 #502DAF #AF2D4B
split-complementary
#8CAF2D #2D4BAF #912DAF
monochromatic
#3E4E14 #657E20 #8CAF2D #ACD049 #C2DD7A

Accessibility & contrast

On white

2.53
#8CAF2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#8CAF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CAF2D
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CAF2D#FFFFFF#000000##000000
##8CAF2D1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A412
Deuteranopia (green-blind)
#B5A239
Tritanopia (blue-blind)
#93A696
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8caf2d;
/* rgb */ color: rgb(140, 175, 45);
/* oklch */ color: oklch(70.4% 0.157 123.8);
Tailwind
colors: {
  custom: {
    50: '#b1c770',
    500: '#8caf2d',
    950: '#000000',
  },
}
SCSS
$custom: #8caf2d;
$custom-light: #b1c770;
$custom-dark: #000000;
JSON
{
  "hex": "#8caf2d",
  "rgb": {
    "r": 140,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 76.154,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.70398,
    "c": 0.15689,
    "h": 123.8
  },
  "luminance": 0.36425
}

Semantic roles & 50–950 ramp

primary
#8CAF2D
secondary
#8973C5
accent
#46E270
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CAF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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