#AFEC7A#AFEC7A

#AFEC7A is a very light, vivid yellow-green. Relative luminance 0.705; OKLCH L 87.7% C 0.158 H 132.0°. Best body text is #000000 at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#AFEC7A
RGBrgb(175, 236, 122)
HSLhsl(92, 75%, 70%)
HSVhsv(92, 48%, 93%)
CMYKcmyk(25.8%, 0%, 48.3%, 7.5%)
CIE-LABlab(87.25, -38.23, 48.86)
CIE-LCHlch(87.25, 62.04, 128.04°)
OKLaboklab(87.69% -0.1058 0.1173)
OKLCHoklch(87.69% 0.158 132)
XYZxyz(51.1867, 70.5086, 29.3213)
Luminance0.7051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC7A #B77AEC
analogous
#E8EC7A #AFEC7A #7AEC7E
triadic
#AFEC7A #7AAFEC #EC7AAF
tetradic
#AFEC7A #7AE8EC #B77AEC #EC7E7A
square
#AFEC7A #7AE8EC #B77AEC #EC7E7A
split-complementary
#AFEC7A #7E7AEC #EC7AE8
monochromatic
#70CE1D #8FE444 #AFEC7A #CFF4B0 #EFFBE4

Accessibility & contrast

On white

1.39
#AFEC7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.10
#AFEC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC7A
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC7A#FFFFFF#000000##000000
##AFEC7A1.001.3915.1015.10
#FFFFFF1.391.0021.0021.00
#00000015.1021.001.001.00
##00000015.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DE70
Deuteranopia (green-blind)
#ECD981
Tritanopia (blue-blind)
#B1E4D2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #afec7a;
/* rgb */ color: rgb(175, 236, 122);
/* oklch */ color: oklch(87.7% 0.158 132.0);
Tailwind
colors: {
  custom: {
    50: '#c9f2a3',
    500: '#afec7a',
    950: '#000000',
  },
}
SCSS
$custom: #afec7a;
$custom-light: #c9f2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#afec7a",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 122
  },
  "hsl": {
    "h": 92.105,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87686,
    "c": 0.15797,
    "h": 132
  },
  "luminance": 0.7051
}

Semantic roles & 50–950 ramp

primary
#AFEC7A
secondary
#8A45C5
accent
#0ED77A
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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