#8DA021#8DA021

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

Color values

HEX#8DA021
RGBrgb(141, 160, 33)
HSLhsl(69, 66%, 38%)
HSVhsv(69, 79%, 63%)
CMYKcmyk(11.9%, 0%, 79.4%, 37.3%)
CIE-LABlab(62.44, -22.80, 58.50)
CIE-LCHlch(62.44, 62.78, 111.29°)
OKLaboklab(66.84% -0.0687 0.1279)
OKLCHoklch(66.84% 0.145 118.2)
XYZxyz(23.8304, 30.9144, 6.1502)
Luminance0.3091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8DA021 #3421A0
analogous
#A07321 #8DA021 #4EA021
triadic
#8DA021 #218DA0 #A0218D
tetradic
#8DA021 #21A073 #3421A0 #A0214E
square
#8DA021 #21A073 #3421A0 #A0214E
split-complementary
#8DA021 #214EA0 #7321A0
monochromatic
#343B0C #606D17 #8DA021 #BAD32B #CBDE5E

Accessibility & contrast

On white

2.92
#8DA021 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#8DA021 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8DA021
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8DA021#FFFFFF#000000##000000
##8DA0211.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8da021;
/* rgb */ color: rgb(141, 160, 33);
/* oklch */ color: oklch(66.8% 0.145 118.2);
Tailwind
colors: {
  custom: {
    50: '#b2bc68',
    500: '#8da021',
    950: '#000000',
  },
}
SCSS
$custom: #8da021;
$custom-light: #b2bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#8da021",
  "rgb": {
    "r": 141,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 68.976,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.66839,
    "c": 0.14517,
    "h": 118.2
  },
  "luminance": 0.30914
}

Semantic roles & 50–950 ramp

primary
#8DA021
secondary
#6A5BC2
accent
#3FE958
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8DA021

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

Preview Lab → · Contrast checker → · Palette generator →

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