#8DBA31#8DBA31

#8DBA31 is a light, vivid yellow-green. Relative luminance 0.410; OKLCH L 73.1% C 0.168 H 126.4°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#8DBA31
RGBrgb(141, 186, 49)
HSLhsl(80, 58%, 46%)
HSVhsv(80, 74%, 73%)
CMYKcmyk(24.2%, 0%, 73.7%, 27.1%)
CIE-LABlab(70.18, -34.47, 60.55)
CIE-LCHlch(70.18, 69.67, 119.65°)
OKLaboklab(73.12% -0.0994 0.1349)
OKLCHoklch(73.12% 0.168 126.4)
XYZxyz(29.0979, 41.0018, 9.2863)
Luminance0.4100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8DBA31 #5E31BA
analogous
#BAA231 #8DBA31 #48BA31
triadic
#8DBA31 #318DBA #BA318D
tetradic
#8DBA31 #31BAA2 #5E31BA #BA3148
square
#8DBA31 #31BAA2 #5E31BA #BA3148
split-complementary
#8DBA31 #3148BA #A231BA
monochromatic
#445917 #688A24 #8DBA31 #A9D256 #C2DF86

Accessibility & contrast

On white

2.28
#8DBA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#8DBA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8DBA31
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8DBA31#FFFFFF#000000##000000
##8DBA311.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD15
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#93B1A0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #8dba31;
/* rgb */ color: rgb(141, 186, 49);
/* oklch */ color: oklch(73.1% 0.168 126.4);
Tailwind
colors: {
  custom: {
    50: '#b2cf73',
    500: '#8dba31',
    950: '#000000',
  },
}
SCSS
$custom: #8dba31;
$custom-light: #b2cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#8dba31",
  "rgb": {
    "r": 141,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 79.708,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73122,
    "c": 0.16755,
    "h": 126.4
  },
  "luminance": 0.41002
}

Semantic roles & 50–950 ramp

primary
#8DBA31
secondary
#977EC9
accent
#46E279
background
#FBFCF7
surface
#F6F9ED
border
#D0D2C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8DBA31

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

Preview Lab → · Contrast checker → · Palette generator →

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