#8CA331#8CA331

#8CA331 is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.6% C 0.140 H 120.2°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8CA331
RGBrgb(140, 163, 49)
HSLhsl(72, 54%, 42%)
HSVhsv(72, 70%, 64%)
CMYKcmyk(14.1%, 0%, 69.9%, 36.1%)
CIE-LABlab(63.34, -23.90, 53.75)
CIE-LCHlch(63.34, 58.83, 113.97°)
OKLaboklab(67.58% -0.0703 0.1207)
OKLCHoklch(67.58% 0.14 120.2)
XYZxyz(24.4672, 31.9917, 7.7912)
Luminance0.3199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA331 #4831A3
analogous
#A38131 #8CA331 #53A331
triadic
#8CA331 #318CA3 #A3318C
tetradic
#8CA331 #31A381 #4831A3 #A33153
square
#8CA331 #31A381 #4831A3 #A33153
split-complementary
#8CA331 #3153A3 #8131A3
monochromatic
#3B4515 #647423 #8CA331 #AFC849 #C3D678

Accessibility & contrast

On white

2.84
#8CA331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#8CA331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA331
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA331#FFFFFF#000000##000000
##8CA3311.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A1F
Deuteranopia (green-blind)
#AA9A3A
Tritanopia (blue-blind)
#949A8C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8ca331;
/* rgb */ color: rgb(140, 163, 49);
/* oklch */ color: oklch(67.6% 0.140 120.2);
Tailwind
colors: {
  custom: {
    50: '#b1be70',
    500: '#8ca331',
    950: '#000000',
  },
}
SCSS
$custom: #8ca331;
$custom-light: #b1be70;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca331",
  "rgb": {
    "r": 140,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 72.105,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67575,
    "c": 0.13964,
    "h": 120.2
  },
  "luminance": 0.31992
}

Semantic roles & 50–950 ramp

primary
#8CA331
secondary
#8171BF
accent
#4BDD68
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8CA331

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

Preview Lab → · Contrast checker → · Palette generator →

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