#8DA227#8DA227

#8DA227 is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 67.3% C 0.144 H 119.1°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8DA227
RGBrgb(141, 162, 39)
HSLhsl(70, 61%, 39%)
HSVhsv(70, 76%, 64%)
CMYKcmyk(13%, 0%, 75.9%, 36.5%)
CIE-LABlab(63.05, -23.53, 57.14)
CIE-LCHlch(63.05, 61.80, 112.38°)
OKLaboklab(67.35% -0.0702 0.1261)
OKLCHoklch(67.35% 0.144 119.1)
XYZxyz(24.2716, 31.6500, 6.7495)
Luminance0.3165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8DA227 #3C27A2
analogous
#A27A27 #8DA227 #50A227
triadic
#8DA227 #278DA2 #A2278D
tetradic
#8DA227 #27A27A #3C27A2 #A22750
square
#8DA227 #27A27A #3C27A2 #A22750
split-complementary
#8DA227 #2750A2 #7A27A2
monochromatic
#373F0F #62711B #8DA227 #B5CF37 #C7DB69

Accessibility & contrast

On white

2.86
#8DA227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#8DA227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8DA227
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8DA227#FFFFFF#000000##000000
##8DA2271.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990A
Deuteranopia (green-blind)
#AA9932
Tritanopia (blue-blind)
#96998B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8da227;
/* rgb */ color: rgb(141, 162, 39);
/* oklch */ color: oklch(67.3% 0.144 119.1);
Tailwind
colors: {
  custom: {
    50: '#b2bd6b',
    500: '#8da227',
    950: '#000000',
  },
}
SCSS
$custom: #8da227;
$custom-light: #b2bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8da227",
  "rgb": {
    "r": 141,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 70.244,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67345,
    "c": 0.14431,
    "h": 119.1
  },
  "luminance": 0.3165
}

Semantic roles & 50–950 ramp

primary
#8DA227
secondary
#7464C1
accent
#43E45F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111207
muted
#80817A

Preview Lab

Preview with #8DA227

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

Preview Lab → · Contrast checker → · Palette generator →

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