#8AAF48#8AAF48

#8AAF48 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.5% C 0.138 H 126.3°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#8AAF48
RGBrgb(138, 175, 72)
HSLhsl(82, 42%, 48%)
HSVhsv(82, 59%, 69%)
CMYKcmyk(21.1%, 0%, 58.9%, 31.4%)
CIE-LABlab(66.92, -28.82, 47.73)
CIE-LCHlch(66.92, 55.76, 121.13°)
OKLaboklab(70.5% -0.0816 0.1111)
OKLCHoklch(70.5% 0.138 126.3)
XYZxyz(26.9809, 36.5307, 11.7593)
Luminance0.3653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAF48 #6D48AF
analogous
#AFA048 #8AAF48 #57AF48
triadic
#8AAF48 #488AAF #AF488A
tetradic
#8AAF48 #48AFA0 #6D48AF #AF4857
square
#8AAF48 #48AFA0 #6D48AF #AF4857
split-complementary
#8AAF48 #4857AF #A048AF
monochromatic
#465824 #688436 #8AAF48 #A6C470 #C1D69B

Accessibility & contrast

On white

2.53
#8AAF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#8AAF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAF48
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAF48#FFFFFF#000000##000000
##8AAF481.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A43D
Deuteranopia (green-blind)
#B2A24F
Tritanopia (blue-blind)
#8FA799
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8aaf48;
/* rgb */ color: rgb(138, 175, 72);
/* oklch */ color: oklch(70.5% 0.138 126.3);
Tailwind
colors: {
  custom: {
    50: '#afc77f',
    500: '#8aaf48',
    950: '#000000',
  },
}
SCSS
$custom: #8aaf48;
$custom-light: #afc77f;
$custom-dark: #000000;
JSON
{
  "hex": "#8aaf48",
  "rgb": {
    "r": 138,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 81.553,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70497,
    "c": 0.13783,
    "h": 126.3
  },
  "luminance": 0.36531
}

Semantic roles & 50–950 ramp

primary
#8AAF48
secondary
#A290C2
accent
#56D283
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8AAF48

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

Preview Lab → · Contrast checker → · Palette generator →

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