#AFE07C#AFE07C

#AFE07C is a very light, vivid yellow-green. Relative luminance 0.639; OKLCH L 85.0% C 0.139 H 130.3°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#AFE07C
RGBrgb(175, 224, 124)
HSLhsl(89, 62%, 68%)
HSVhsv(89, 45%, 88%)
CMYKcmyk(21.9%, 0%, 44.6%, 12.2%)
CIE-LABlab(83.90, -32.52, 43.76)
CIE-LCHlch(83.90, 54.52, 126.62°)
OKLaboklab(84.99% -0.0898 0.1061)
OKLCHoklch(84.99% 0.139 130.3)
XYZxyz(47.9723, 63.8796, 28.8674)
Luminance0.6388 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE07C #AD7CE0
analogous
#E0DF7C #AFE07C #7DE07C
triadic
#AFE07C #7CAFE0 #E07CAF
tetradic
#AFE07C #7CE0DF #AD7CE0 #E07C7D
square
#AFE07C #7CE0DF #AD7CE0 #E07C7D
split-complementary
#AFE07C #7C7DE0 #DF7CE0
monochromatic
#72B62B #91D44B #AFE07C #CDECAD #EBF7DF

Accessibility & contrast

On white

1.52
#AFE07C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#AFE07C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE07C
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE07C#FFFFFF#000000##000000
##AFE07C1.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D474
Deuteranopia (green-blind)
#E1D082
Tritanopia (blue-blind)
#B2D8C8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe07c;
/* rgb */ color: rgb(175, 224, 124);
/* oklch */ color: oklch(85.0% 0.139 130.3);
Tailwind
colors: {
  custom: {
    50: '#c9eaa3',
    500: '#afe07c',
    950: '#000000',
  },
}
SCSS
$custom: #afe07c;
$custom-light: #c9eaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#afe07c",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 124
  },
  "hsl": {
    "h": 89.4,
    "s": 61.728,
    "l": 68.235
  },
  "oklch": {
    "l": 0.84994,
    "c": 0.13896,
    "h": 130.3
  },
  "luminance": 0.63881
}

Semantic roles & 50–950 ramp

primary
#AFE07C
secondary
#7F49B7
accent
#1CC971
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE07C

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

Preview Lab → · Contrast checker → · Palette generator →

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