#8CB223#8CB223

#8CB223 is a light, vivid yellow-green. Relative luminance 0.375; OKLCH L 71.1% C 0.166 H 124.2°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8CB223
RGBrgb(140, 178, 35)
HSLhsl(76, 67%, 42%)
HSVhsv(76, 80%, 70%)
CMYKcmyk(21.3%, 0%, 80.3%, 30.2%)
CIE-LABlab(67.68, -31.84, 62.62)
CIE-LCHlch(67.68, 70.25, 116.95°)
OKLaboklab(71.06% -0.0932 0.137)
OKLCHoklch(71.06% 0.166 124.2)
XYZxyz(27.0393, 37.5373, 7.4107)
Luminance0.3754 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB223 #4923B2
analogous
#B29123 #8CB223 #45B223
triadic
#8CB223 #238CB2 #B2238C
tetradic
#8CB223 #23B291 #4923B2 #B22345
square
#8CB223 #23B291 #4923B2 #B22345
split-complementary
#8CB223 #2345B2 #9123B2
monochromatic
#3C4C0F #647F19 #8CB223 #AED83A #C3E26D

Accessibility & contrast

On white

2.47
#8CB223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#8CB223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB223
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB223#FFFFFF#000000##000000
##8CB2231.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#B7A432
Tritanopia (blue-blind)
#93A998
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb223;
/* rgb */ color: rgb(140, 178, 35);
/* oklch */ color: oklch(71.1% 0.166 124.2);
Tailwind
colors: {
  custom: {
    50: '#b2c96b',
    500: '#8cb223',
    950: '#000000',
  },
}
SCSS
$custom: #8cb223;
$custom-light: #b2c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb223",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 35
  },
  "hsl": {
    "h": 75.944,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.71057,
    "c": 0.16571,
    "h": 124.2
  },
  "luminance": 0.37538
}

Semantic roles & 50–950 ramp

primary
#8CB223
secondary
#8268C9
accent
#3EEA6C
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8CB223

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

Preview Lab → · Contrast checker → · Palette generator →

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