#8CB428#8CB428

#8CB428 is a light, vivid yellow-green. Relative luminance 0.384; OKLCH L 71.6% C 0.166 H 124.9°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#8CB428
RGBrgb(140, 180, 40)
HSLhsl(77, 64%, 43%)
HSVhsv(77, 78%, 71%)
CMYKcmyk(22.2%, 0%, 77.8%, 29.4%)
CIE-LABlab(68.29, -32.55, 61.69)
CIE-LCHlch(68.29, 69.75, 117.82°)
OKLaboklab(71.56% -0.0948 0.1359)
OKLCHoklch(71.56% 0.166 124.9)
XYZxyz(27.5197, 38.3708, 7.9635)
Luminance0.3837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB428 #5028B4
analogous
#B49628 #8CB428 #46B428
triadic
#8CB428 #288CB4 #B4288C
tetradic
#8CB428 #28B496 #5028B4 #B42846
square
#8CB428 #28B496 #5028B4 #B42846
split-complementary
#8CB428 #2846B4 #9628B4
monochromatic
#3E5012 #65821D #8CB428 #ACD544 #C2E176

Accessibility & contrast

On white

2.42
#8CB428 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#8CB428 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB428
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB428#FFFFFF#000000##000000
##8CB4281.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#93AB9A
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8cb428;
/* rgb */ color: rgb(140, 180, 40);
/* oklch */ color: oklch(71.6% 0.166 124.9);
Tailwind
colors: {
  custom: {
    50: '#b2ca6e',
    500: '#8cb428',
    950: '#000000',
  },
}
SCSS
$custom: #8cb428;
$custom-light: #b2ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb428",
  "rgb": {
    "r": 140,
    "g": 180,
    "b": 40
  },
  "hsl": {
    "h": 77.143,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71563,
    "c": 0.16568,
    "h": 124.9
  },
  "luminance": 0.38371
}

Semantic roles & 50–950 ramp

primary
#8CB428
secondary
#8970C8
accent
#41E770
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB428

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

Preview Lab → · Contrast checker → · Palette generator →

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