#8DAC31#8DAC31

#8DAC31 is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.8% C 0.150 H 122.7°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8DAC31
RGBrgb(141, 172, 49)
HSLhsl(75, 56%, 43%)
HSVhsv(75, 72%, 67%)
CMYKcmyk(18%, 0%, 71.5%, 32.5%)
CIE-LABlab(66.05, -27.88, 56.49)
CIE-LCHlch(66.05, 63.00, 116.27°)
OKLaboklab(69.78% -0.0813 0.1264)
OKLCHoklch(69.78% 0.15 122.7)
XYZxyz(26.2917, 35.3894, 8.3509)
Luminance0.3539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8DAC31 #5031AC
analogous
#AC8D31 #8DAC31 #4FAC31
triadic
#8DAC31 #318DAC #AC318D
tetradic
#8DAC31 #31AC8D #5031AC #AC314F
square
#8DAC31 #31AC8D #5031AC #AC314F
split-complementary
#8DAC31 #314FAC #8D31AC
monochromatic
#3F4D16 #667C23 #8DAC31 #ADCC4E #C3DA7D

Accessibility & contrast

On white

2.60
#8DAC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#8DAC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8DAC31
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8DAC31#FFFFFF#000000##000000
##8DAC311.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11C
Deuteranopia (green-blind)
#B2A03B
Tritanopia (blue-blind)
#94A394
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8dac31;
/* rgb */ color: rgb(141, 172, 49);
/* oklch */ color: oklch(69.8% 0.150 122.7);
Tailwind
colors: {
  custom: {
    50: '#b2c471',
    500: '#8dac31',
    950: '#000000',
  },
}
SCSS
$custom: #8dac31;
$custom-light: #b2c471;
$custom-dark: #000000;
JSON
{
  "hex": "#8dac31",
  "rgb": {
    "r": 141,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 75.122,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69782,
    "c": 0.15029,
    "h": 122.7
  },
  "luminance": 0.3539
}

Semantic roles & 50–950 ramp

primary
#8DAC31
secondary
#8976C3
accent
#49DF6F
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8DAC31

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

Preview Lab → · Contrast checker → · Palette generator →

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