#8DA017#8DA017

#8DA017 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 66.8% C 0.149 H 118.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8DA017
RGBrgb(141, 160, 23)
HSLhsl(68, 75%, 36%)
HSVhsv(68, 86%, 63%)
CMYKcmyk(11.9%, 0%, 85.6%, 37.3%)
CIE-LABlab(62.39, -23.15, 61.15)
CIE-LCHlch(62.39, 65.38, 110.74°)
OKLaboklab(66.79% -0.0703 0.1319)
OKLCHoklch(66.79% 0.149 118.1)
XYZxyz(23.7106, 30.8664, 5.5192)
Luminance0.3087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8DA017 #2A17A0
analogous
#A06E17 #8DA017 #48A017
triadic
#8DA017 #178DA0 #A0178D
tetradic
#8DA017 #17A06E #2A17A0 #A01748
square
#8DA017 #17A06E #2A17A0 #A01748
split-complementary
#8DA017 #1748A0 #6E17A0
monochromatic
#2F3508 #5E6A0F #8DA017 #BCD61F #D0E54C

Accessibility & contrast

On white

2.93
#8DA017 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#8DA017 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8DA017
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8DA017#FFFFFF#000000##000000
##8DA0171.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A99727
Tritanopia (blue-blind)
#969788
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8da017;
/* rgb */ color: rgb(141, 160, 23);
/* oklch */ color: oklch(66.8% 0.149 118.1);
Tailwind
colors: {
  custom: {
    50: '#b2bc64',
    500: '#8da017',
    950: '#000000',
  },
}
SCSS
$custom: #8da017;
$custom-light: #b2bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#8da017",
  "rgb": {
    "r": 141,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 68.321,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.66793,
    "c": 0.14945,
    "h": 118.1
  },
  "luminance": 0.30866
}

Semantic roles & 50–950 ramp

primary
#8DA017
secondary
#5D4CC7
accent
#36F150
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8DA017

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

Preview Lab → · Contrast checker → · Palette generator →

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