#8DAF38#8DAF38

#8DAF38 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.5% C 0.149 H 124.0°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#8DAF38
RGBrgb(141, 175, 56)
HSLhsl(77, 52%, 45%)
HSVhsv(77, 68%, 69%)
CMYKcmyk(19.4%, 0%, 68%, 31.4%)
CIE-LABlab(66.98, -28.88, 54.73)
CIE-LCHlch(66.98, 61.89, 117.82°)
OKLaboklab(70.55% -0.0834 0.1238)
OKLCHoklch(70.55% 0.149 124)
XYZxyz(27.0285, 36.6080, 9.3827)
Luminance0.3661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8DAF38 #5A38AF
analogous
#AF9538 #8DAF38 #51AF38
triadic
#8DAF38 #388DAF #AF388D
tetradic
#8DAF38 #38AF95 #5A38AF #AF3851
square
#8DAF38 #38AF95 #5A38AF #AF3851
split-complementary
#8DAF38 #3851AF #9538AF
monochromatic
#42521A #688129 #8DAF38 #AACA5A #C2D988

Accessibility & contrast

On white

2.52
#8DAF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#8DAF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8DAF38
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8DAF38#FFFFFF#000000##000000
##8DAF381.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A427
Deuteranopia (green-blind)
#B4A341
Tritanopia (blue-blind)
#94A797
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8daf38;
/* rgb */ color: rgb(141, 175, 56);
/* oklch */ color: oklch(70.5% 0.149 124.0);
Tailwind
colors: {
  custom: {
    50: '#b1c775',
    500: '#8daf38',
    950: '#000000',
  },
}
SCSS
$custom: #8daf38;
$custom-light: #b1c775;
$custom-dark: #000000;
JSON
{
  "hex": "#8daf38",
  "rgb": {
    "r": 141,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 77.143,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.7055,
    "c": 0.14927,
    "h": 124
  },
  "luminance": 0.36608
}

Semantic roles & 50–950 ramp

primary
#8DAF38
secondary
#9380C3
accent
#4DDB75
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8DAF38

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

Preview Lab → · Contrast checker → · Palette generator →

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