#8CB042#8CB042

#8CB042 is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.8% C 0.143 H 125.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#8CB042
RGBrgb(140, 176, 66)
HSLhsl(80, 45%, 47%)
HSVhsv(80, 63%, 69%)
CMYKcmyk(20.5%, 0%, 62.5%, 31%)
CIE-LABlab(67.29, -29.02, 50.86)
CIE-LCHlch(67.29, 58.56, 119.71°)
OKLaboklab(70.81% -0.0828 0.117)
OKLCHoklch(70.81% 0.143 125.3)
XYZxyz(27.3240, 37.0192, 10.8591)
Luminance0.3702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB042 #6642B0
analogous
#B09D42 #8CB042 #55B042
triadic
#8CB042 #428CB0 #B0428C
tetradic
#8CB042 #42B09D #6642B0 #B04255
square
#8CB042 #42B09D #6642B0 #B04255
split-complementary
#8CB042 #4255B0 #9D42B0
monochromatic
#455721 #698331 #8CB042 #A8C769 #C2D795

Accessibility & contrast

On white

2.50
#8CB042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#8CB042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB042
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB042#FFFFFF#000000##000000
##8CB0421.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A535
Deuteranopia (green-blind)
#B4A34A
Tritanopia (blue-blind)
#92A899
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8cb042;
/* rgb */ color: rgb(140, 176, 66);
/* oklch */ color: oklch(70.8% 0.143 125.3);
Tailwind
colors: {
  custom: {
    50: '#b0c77b',
    500: '#8cb042',
    950: '#000000',
  },
}
SCSS
$custom: #8cb042;
$custom-light: #b0c77b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb042",
  "rgb": {
    "r": 140,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 79.636,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.70809,
    "c": 0.14335,
    "h": 125.3
  },
  "luminance": 0.37019
}

Semantic roles & 50–950 ramp

primary
#8CB042
secondary
#9D8BC3
accent
#53D57D
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8CB042

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

Preview Lab → · Contrast checker → · Palette generator →

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