#8CB028#8CB028

#8CB028 is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.6% C 0.161 H 123.9°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8CB028
RGBrgb(140, 176, 40)
HSLhsl(76, 63%, 42%)
HSVhsv(76, 77%, 69%)
CMYKcmyk(20.5%, 0%, 77.3%, 31%)
CIE-LABlab(67.11, -30.68, 60.59)
CIE-LCHlch(67.11, 67.92, 116.85°)
OKLaboklab(70.61% -0.0896 0.1336)
OKLCHoklch(70.61% 0.161 123.9)
XYZxyz(26.7239, 36.7791, 7.6982)
Luminance0.3678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB028 #4C28B0
analogous
#B09028 #8CB028 #48B028
triadic
#8CB028 #288CB0 #B0288C
tetradic
#8CB028 #28B090 #4C28B0 #B02848
square
#8CB028 #28B090 #4C28B0 #B02848
split-complementary
#8CB028 #2848B0 #9028B0
monochromatic
#3D4C11 #647E1D #8CB028 #ADD441 #C3DF73

Accessibility & contrast

On white

2.51
#8CB028 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#8CB028 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB028
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB028#FFFFFF#000000##000000
##8CB0281.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA401
Deuteranopia (green-blind)
#B6A335
Tritanopia (blue-blind)
#93A797
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8cb028;
/* rgb */ color: rgb(140, 176, 40);
/* oklch */ color: oklch(70.6% 0.161 123.9);
Tailwind
colors: {
  custom: {
    50: '#b1c76d',
    500: '#8cb028',
    950: '#000000',
  },
}
SCSS
$custom: #8cb028;
$custom-light: #b1c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb028",
  "rgb": {
    "r": 140,
    "g": 176,
    "b": 40
  },
  "hsl": {
    "h": 75.882,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.70606,
    "c": 0.16087,
    "h": 123.9
  },
  "luminance": 0.36779
}

Semantic roles & 50–950 ramp

primary
#8CB028
secondary
#856DC6
accent
#42E66D
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB028

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

Preview Lab → · Contrast checker → · Palette generator →

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