#8AAF1C#8AAF1C

#8AAF1C is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 70.2% C 0.166 H 123.9°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8AAF1C
RGBrgb(138, 175, 28)
HSLhsl(75, 72%, 40%)
HSVhsv(75, 84%, 69%)
CMYKcmyk(21.1%, 0%, 84%, 31.4%)
CIE-LABlab(66.63, -31.51, 63.49)
CIE-LCHlch(66.63, 70.88, 116.39°)
OKLaboklab(70.17% -0.0926 0.1378)
OKLCHoklch(70.17% 0.166 123.9)
XYZxyz(26.0211, 36.1468, 6.7045)
Luminance0.3615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF1C #411CAF
analogous
#AF8B1C #8AAF1C #41AF1C
triadic
#8AAF1C #1C8AAF #AF1C8A
tetradic
#8AAF1C #1CAF8B #411CAF #AF1C41
square
#8AAF1C #1CAF8B #411CAF #AF1C41
split-complementary
#8AAF1C #1C41AF #8B1CAF
monochromatic
#37450B #607A14 #8AAF1C #B0DD2B #C4E660

Accessibility & contrast

On white

2.55
#8AAF1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#8AAF1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF1C
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF1C#FFFFFF#000000##000000
##8AAF1C1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B5A22D
Tritanopia (blue-blind)
#91A695
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8aaf1c;
/* rgb */ color: rgb(138, 175, 28);
/* oklch */ color: oklch(70.2% 0.166 123.9);
Tailwind
colors: {
  custom: {
    50: '#b0c768',
    500: '#8aaf1c',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf1c;
$custom-light: #b0c768;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf1c",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 28
  },
  "hsl": {
    "h": 75.102,
    "s": 72.414,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70168,
    "c": 0.16606,
    "h": 123.9
  },
  "luminance": 0.36147
}

Semantic roles & 50–950 ramp

primary
#8AAF1C
secondary
#785DCA
accent
#39EF67
background
#FBFCF6
surface
#F6F8EB
border
#D0D1C6
text
#111307
muted
#80827A

Preview Lab

Preview with #8AAF1C

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

Preview Lab → · Contrast checker → · Palette generator →

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