#8CB438#8CB438

#8CB438 is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.7% C 0.156 H 125.7°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#8CB438
RGBrgb(140, 180, 56)
HSLhsl(79, 53%, 46%)
HSVhsv(79, 69%, 71%)
CMYKcmyk(22.2%, 0%, 68.9%, 29.4%)
CIE-LABlab(68.39, -31.65, 56.16)
CIE-LCHlch(68.39, 64.46, 119.40°)
OKLaboklab(71.67% -0.091 0.1268)
OKLCHoklch(71.67% 0.156 125.7)
XYZxyz(27.8504, 38.5031, 9.7052)
Luminance0.3850 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB438 #6038B4
analogous
#B49E38 #8CB438 #4EB438
triadic
#8CB438 #388CB4 #B4388C
tetradic
#8CB438 #38B49E #6038B4 #B4384E
square
#8CB438 #38B49E #6038B4 #B4384E
split-complementary
#8CB438 #384EB4 #9E38B4
monochromatic
#43571B #688529 #8CB438 #A8CD5D #C1DB8B

Accessibility & contrast

On white

2.41
#8CB438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#8CB438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB438
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB438#FFFFFF#000000##000000
##8CB4381.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA825
Deuteranopia (green-blind)
#B8A642
Tritanopia (blue-blind)
#92AC9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8cb438;
/* rgb */ color: rgb(140, 180, 56);
/* oklch */ color: oklch(71.7% 0.156 125.7);
Tailwind
colors: {
  custom: {
    50: '#b1ca76',
    500: '#8cb438',
    950: '#000000',
  },
}
SCSS
$custom: #8cb438;
$custom-light: #b1ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb438",
  "rgb": {
    "r": 140,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 79.355,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71672,
    "c": 0.15607,
    "h": 125.7
  },
  "luminance": 0.38503
}

Semantic roles & 50–950 ramp

primary
#8CB438
secondary
#9882C5
accent
#4CDC7A
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8CB438

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

Preview Lab → · Contrast checker → · Palette generator →

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