#AFEC8A#AFEC8A

#AFEC8A is a very light, vivid yellow-green. Relative luminance 0.709; OKLCH L 87.9% C 0.142 H 134.5°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#AFEC8A
RGBrgb(175, 236, 138)
HSLhsl(97, 72%, 73%)
HSVhsv(97, 42%, 93%)
CMYKcmyk(25.8%, 0%, 41.5%, 7.5%)
CIE-LABlab(87.45, -36.31, 41.39)
CIE-LCHlch(87.45, 55.06, 131.25°)
OKLaboklab(87.92% -0.0996 0.1013)
OKLCHoklch(87.92% 0.142 134.5)
XYZxyz(52.2609, 70.9383, 34.9788)
Luminance0.7094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC8A #C78AEC
analogous
#E0EC8A #AFEC8A #8AEC96
triadic
#AFEC8A #8AAFEC #EC8AAF
tetradic
#AFEC8A #8AE0EC #C78AEC #EC968A
square
#AFEC8A #8AE0EC #C78AEC #EC968A
split-complementary
#AFEC8A #968AEC #EC8AE0
monochromatic
#68D823 #8BE355 #AFEC8A #D3F5BF #EDFBE5

Accessibility & contrast

On white

1.38
#AFEC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#AFEC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC8A
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC8A#FFFFFF#000000##000000
##AFEC8A1.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DE83
Deuteranopia (green-blind)
#EAD990
Tritanopia (blue-blind)
#AFE5D4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #afec8a;
/* rgb */ color: rgb(175, 236, 138);
/* oklch */ color: oklch(87.9% 0.142 134.5);
Tailwind
colors: {
  custom: {
    50: '#c9f2ad',
    500: '#afec8a',
    950: '#000000',
  },
}
SCSS
$custom: #afec8a;
$custom-light: #c9f2ad;
$custom-dark: #000000;
JSON
{
  "hex": "#afec8a",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 138
  },
  "hsl": {
    "h": 97.347,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.87923,
    "c": 0.14208,
    "h": 134.5
  },
  "luminance": 0.7094
}

Semantic roles & 50–950 ramp

primary
#AFEC8A
secondary
#9B54C7
accent
#11D48B
background
#FEFFFD
surface
#FAFEF7
border
#D3D6D0
text
#131710
muted
#838581

Preview Lab

Preview with #AFEC8A

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

Preview Lab → · Contrast checker → · Palette generator →

#AFEC8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva