#8CB431#8CB431

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

Color values

HEX#8CB431
RGBrgb(140, 180, 49)
HSLhsl(78, 57%, 45%)
HSVhsv(78, 73%, 71%)
CMYKcmyk(22.2%, 0%, 72.8%, 29.4%)
CIE-LABlab(68.34, -32.08, 58.73)
CIE-LCHlch(68.34, 66.93, 118.65°)
OKLaboklab(71.62% -0.0928 0.1311)
OKLCHoklch(71.62% 0.161 125.3)
XYZxyz(27.6910, 38.4394, 8.8658)
Luminance0.3844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CB431 #5931B4
analogous
#B49B31 #8CB431 #4AB431
triadic
#8CB431 #318CB4 #B4318C
tetradic
#8CB431 #31B49B #5931B4 #B4314A
square
#8CB431 #31B49B #5931B4 #B4314A
split-complementary
#8CB431 #314AB4 #9B31B4
monochromatic
#415417 #678424 #8CB431 #AAD052 #C1DD82

Accessibility & contrast

On white

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

On black

8.69
#8CB431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CB431
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CB431#FFFFFF#000000##000000
##8CB4311.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA818
Deuteranopia (green-blind)
#B8A63D
Tritanopia (blue-blind)
#92AB9B
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #8cb431;
/* rgb */ color: rgb(140, 180, 49);
/* oklch */ color: oklch(71.6% 0.161 125.3);
Tailwind
colors: {
  custom: {
    50: '#b1ca72',
    500: '#8cb431',
    950: '#000000',
  },
}
SCSS
$custom: #8cb431;
$custom-light: #b1ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#8cb431",
  "rgb": {
    "r": 140,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 78.321,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71619,
    "c": 0.16063,
    "h": 125.3
  },
  "luminance": 0.3844
}

Semantic roles & 50–950 ramp

primary
#8CB431
secondary
#927BC6
accent
#47E076
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8CB431

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

Preview Lab → · Contrast checker → · Palette generator →

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