#AFE046#AFE046

#AFE046 is a very light, vivid yellow-green. Relative luminance 0.629; OKLCH L 84.4% C 0.185 H 125.6°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#AFE046
RGBrgb(175, 224, 70)
HSLhsl(79, 71%, 58%)
HSVhsv(79, 69%, 88%)
CMYKcmyk(21.9%, 0%, 68.8%, 12.2%)
CIE-LABlab(83.37, -37.36, 66.83)
CIE-LCHlch(83.37, 76.56, 119.21°)
OKLaboklab(84.39% -0.1076 0.1505)
OKLCHoklch(84.39% 0.185 125.6)
XYZxyz(45.4406, 62.8669, 15.5337)
Luminance0.6287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE046 #7746E0
analogous
#E0C446 #AFE046 #62E046
triadic
#AFE046 #46AFE0 #E046AF
tetradic
#AFE046 #46E0C4 #7746E0 #E04662
square
#AFE046 #46E0C4 #7746E0 #E04662
split-complementary
#AFE046 #4662E0 #C446E0
monochromatic
#6C9319 #93C721 #AFE046 #C6E97A #DCF2AF

Accessibility & contrast

On white

1.55
#AFE046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.57
#AFE046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE046
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE046#FFFFFF#000000##000000
##AFE0461.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD22E
Deuteranopia (green-blind)
#E5CF53
Tritanopia (blue-blind)
#B6D6C1
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe046;
/* rgb */ color: rgb(175, 224, 70);
/* oklch */ color: oklch(84.4% 0.185 125.6);
Tailwind
colors: {
  custom: {
    50: '#cbea82',
    500: '#afe046',
    950: '#000000',
  },
}
SCSS
$custom: #afe046;
$custom-light: #cbea82;
$custom-dark: #000000;
JSON
{
  "hex": "#afe046",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 70
  },
  "hsl": {
    "h": 79.091,
    "s": 71.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84394,
    "c": 0.18499,
    "h": 125.6
  },
  "luminance": 0.62867
}

Semantic roles & 50–950 ramp

primary
#AFE046
secondary
#533398
accent
#3AEE73
background
#FEFEFB
surface
#FBFDF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFE046

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

Preview Lab → · Contrast checker → · Palette generator →

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