#8CAA31#8CAA31

#8CAA31 is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 69.2% C 0.148 H 122.5°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8CAA31
RGBrgb(140, 170, 49)
HSLhsl(75, 55%, 43%)
HSVhsv(75, 71%, 67%)
CMYKcmyk(17.6%, 0%, 71.2%, 33.3%)
CIE-LABlab(65.39, -27.33, 55.82)
CIE-LCHlch(65.39, 62.15, 116.09°)
OKLaboklab(69.24% -0.0797 0.125)
OKLCHoklch(69.24% 0.148 122.5)
XYZxyz(25.7446, 34.5466, 8.2170)
Luminance0.3455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CAA31 #4F31AA
analogous
#AA8B31 #8CAA31 #4FAA31
triadic
#8CAA31 #318CAA #AA318C
tetradic
#8CAA31 #31AA8B #4F31AA #AA314F
square
#8CAA31 #31AA8B #4F31AA #AA314F
split-complementary
#8CAA31 #314FAA #8B31AA
monochromatic
#3E4B16 #657A23 #8CAA31 #ACCC4D #C2D97C

Accessibility & contrast

On white

2.66
#8CAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#8CAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CAA31
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CAA31#FFFFFF#000000##000000
##8CAA311.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A01D
Deuteranopia (green-blind)
#B09F3B
Tritanopia (blue-blind)
#93A192
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8caa31;
/* rgb */ color: rgb(140, 170, 49);
/* oklch */ color: oklch(69.2% 0.148 122.5);
Tailwind
colors: {
  custom: {
    50: '#b1c371',
    500: '#8caa31',
    950: '#000000',
  },
}
SCSS
$custom: #8caa31;
$custom-light: #b1c371;
$custom-dark: #000000;
JSON
{
  "hex": "#8caa31",
  "rgb": {
    "r": 140,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 74.876,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69235,
    "c": 0.14826,
    "h": 122.5
  },
  "luminance": 0.34547
}

Semantic roles & 50–950 ramp

primary
#8CAA31
secondary
#8875C2
accent
#49DF6E
background
#FBFBF7
surface
#F6F7ED
border
#D0D0C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8CAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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