#8AAE1F#8AAE1F

#8AAE1F is a light, vivid yellow-green. Relative luminance 0.358; OKLCH L 69.9% C 0.164 H 123.7°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8AAE1F
RGBrgb(138, 174, 31)
HSLhsl(75, 70%, 40%)
HSVhsv(75, 82%, 68%)
CMYKcmyk(20.7%, 0%, 82.2%, 31.8%)
CIE-LABlab(66.35, -30.93, 62.48)
CIE-LCHlch(66.35, 69.72, 116.34°)
OKLaboklab(69.94% -0.0909 0.1362)
OKLCHoklch(69.94% 0.164 123.7)
XYZxyz(25.8649, 35.7741, 6.8385)
Luminance0.3577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAE1F #431FAE
analogous
#AE8A1F #8AAE1F #42AE1F
triadic
#8AAE1F #1F8AAE #AE1F8A
tetradic
#8AAE1F #1FAE8A #431FAE #AE1F42
square
#8AAE1F #1FAE8A #431FAE #AE1F42
split-complementary
#8AAE1F #1F42AE #8A1FAE
monochromatic
#38460C #617A16 #8AAE1F #AFDA30 #C3E364

Accessibility & contrast

On white

2.58
#8AAE1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#8AAE1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAE1F
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAE1F#FFFFFF#000000##000000
##8AAE1F1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B4A12F
Tritanopia (blue-blind)
#91A594
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8aae1f;
/* rgb */ color: rgb(138, 174, 31);
/* oklch */ color: oklch(69.9% 0.164 123.7);
Tailwind
colors: {
  custom: {
    50: '#b0c669',
    500: '#8aae1f',
    950: '#000000',
  },
}
SCSS
$custom: #8aae1f;
$custom-light: #b0c669;
$custom-dark: #000000;
JSON
{
  "hex": "#8aae1f",
  "rgb": {
    "r": 138,
    "g": 174,
    "b": 31
  },
  "hsl": {
    "h": 75.105,
    "s": 69.756,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6994,
    "c": 0.16369,
    "h": 123.7
  },
  "luminance": 0.35774
}

Semantic roles & 50–950 ramp

primary
#8AAE1F
secondary
#7B60C8
accent
#3BED68
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8AAE1F

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

Preview Lab → · Contrast checker → · Palette generator →

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