#8CB052#8CB052

#8CB052 is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 71.0% C 0.129 H 126.8°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8CB052
RGBrgb(140, 176, 82)
HSLhsl(83, 37%, 51%)
HSVhsv(83, 53%, 69%)
CMYKcmyk(20.5%, 0%, 53.4%, 31%)
CIE-LABlab(67.45, -27.56, 43.66)
CIE-LCHlch(67.45, 51.63, 122.26°)
OKLaboklab(70.99% -0.0773 0.1033)
OKLCHoklch(70.99% 0.129 126.8)
XYZxyz(27.8635, 37.2349, 13.7001)
Luminance0.3724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB052 #7652B0
analogous
#B0A552 #8CB052 #5DB052
triadic
#8CB052 #528CB0 #B0528C
tetradic
#8CB052 #52B0A5 #7652B0 #B0525D
square
#8CB052 #52B0A5 #7652B0 #B0525D
split-complementary
#8CB052 #525DB0 #A552B0
monochromatic
#4A5D2B #6B873E #8CB052 #A8C37C #C4D6A6

Accessibility & contrast

On white

2.49
#8CB052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#8CB052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB052
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB052#FFFFFF#000000##000000
##8CB0521.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A649
Deuteranopia (green-blind)
#B3A458
Tritanopia (blue-blind)
#90A99B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8cb052;
/* rgb */ color: rgb(140, 176, 82);
/* oklch */ color: oklch(71.0% 0.129 126.8);
Tailwind
colors: {
  custom: {
    50: '#b0c785',
    500: '#8cb052',
    950: '#000000',
  },
}
SCSS
$custom: #8cb052;
$custom-light: #b0c785;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb052",
  "rgb": {
    "r": 140,
    "g": 176,
    "b": 82
  },
  "hsl": {
    "h": 82.979,
    "s": 37.302,
    "l": 50.588
  },
  "oklch": {
    "l": 0.70992,
    "c": 0.12902,
    "h": 126.8
  },
  "luminance": 0.37235
}

Semantic roles & 50–950 ramp

primary
#8CB052
secondary
#AA9AC4
accent
#5BCD86
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#11130B
muted
#80827C

Preview Lab

Preview with #8CB052

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

Preview Lab → · Contrast checker → · Palette generator →

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