#8CB225#8CB225

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

Color values

HEX#8CB225
RGBrgb(140, 178, 37)
HSLhsl(76, 66%, 42%)
HSVhsv(76, 79%, 70%)
CMYKcmyk(21.3%, 0%, 79.2%, 30.2%)
CIE-LABlab(67.69, -31.75, 62.04)
CIE-LCHlch(67.69, 69.70, 117.10°)
OKLaboklab(71.07% -0.0928 0.1362)
OKLCHoklch(71.07% 0.165 124.3)
XYZxyz(27.0698, 37.5495, 7.5716)
Luminance0.3755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB225 #4B25B2
analogous
#B29125 #8CB225 #46B225
triadic
#8CB225 #258CB2 #B2258C
tetradic
#8CB225 #25B291 #4B25B2 #B22546
square
#8CB225 #25B291 #4B25B2 #B22546
split-complementary
#8CB225 #2546B2 #9125B2
monochromatic
#3C4D10 #647F1A #8CB225 #ADD73D #C3E170

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8CB225#FFFFFF#000000##000000
##8CB2251.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)
#B7A434
Tritanopia (blue-blind)
#93A998
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8cb225;
/* rgb */ color: rgb(140, 178, 37);
/* oklch */ color: oklch(71.1% 0.165 124.3);
Tailwind
colors: {
  custom: {
    50: '#b2c96c',
    500: '#8cb225',
    950: '#000000',
  },
}
SCSS
$custom: #8cb225;
$custom-light: #b2c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb225",
  "rgb": {
    "r": 140,
    "g": 178,
    "b": 37
  },
  "hsl": {
    "h": 76.17,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71067,
    "c": 0.16477,
    "h": 124.3
  },
  "luminance": 0.3755
}

Semantic roles & 50–950 ramp

primary
#8CB225
secondary
#846BC8
accent
#3FE96D
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB225

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

Preview Lab → · Contrast checker → · Palette generator →

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