#8CBC1F#8CBC1F

#8CBC1F is a light, vivid yellow-green. Relative luminance 0.416; OKLCH L 73.4% C 0.179 H 126.4°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#8CBC1F
RGBrgb(140, 188, 31)
HSLhsl(78, 72%, 43%)
HSVhsv(78, 84%, 74%)
CMYKcmyk(25.5%, 0%, 83.5%, 26.3%)
CIE-LABlab(70.62, -36.59, 66.27)
CIE-LCHlch(70.62, 75.70, 118.90°)
OKLaboklab(73.44% -0.1063 0.1442)
OKLCHoklch(73.44% 0.179 126.4)
XYZxyz(29.0460, 41.6403, 7.8032)
Luminance0.4164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CBC1F #4F1FBC
analogous
#BC9D1F #8CBC1F #3DBC1F
triadic
#8CBC1F #1F8CBC #BC1F8C
tetradic
#8CBC1F #1FBC9D #4F1FBC #BC1F3D
square
#8CBC1F #1FBC9D #4F1FBC #BC1F3D
split-complementary
#8CBC1F #1F3DBC #9D1FBC
monochromatic
#3E530E #658716 #8CBC1F #ACDE3A #C2E76E

Accessibility & contrast

On white

2.25
#8CBC1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#8CBC1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CBC1F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CBC1F#FFFFFF#000000##000000
##8CBC1F1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C0AC32
Tritanopia (blue-blind)
#92B3A0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #8cbc1f;
/* rgb */ color: rgb(140, 188, 31);
/* oklch */ color: oklch(73.4% 0.179 126.4);
Tailwind
colors: {
  custom: {
    50: '#b2d06b',
    500: '#8cbc1f',
    950: '#000000',
  },
}
SCSS
$custom: #8cbc1f;
$custom-light: #b2d06b;
$custom-dark: #000000;
JSON
{
  "hex": "#8cbc1f",
  "rgb": {
    "r": 140,
    "g": 188,
    "b": 31
  },
  "hsl": {
    "h": 78.344,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.7344,
    "c": 0.17914,
    "h": 126.4
  },
  "luminance": 0.41641
}

Semantic roles & 50–950 ramp

primary
#8CBC1F
secondary
#8869CD
accent
#39EE71
background
#FBFCF6
surface
#F6F9EC
border
#D0D2C7
text
#111408
muted
#80827A

Preview Lab

Preview with #8CBC1F

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

Preview Lab → · Contrast checker → · Palette generator →

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