#AFE051#AFE051

#AFE051 is a very light, vivid yellow-green. Relative luminance 0.630; OKLCH L 84.5% C 0.177 H 126.1°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#AFE051
RGBrgb(175, 224, 81)
HSLhsl(81, 70%, 60%)
HSVhsv(81, 64%, 88%)
CMYKcmyk(21.9%, 0%, 63.8%, 12.2%)
CIE-LABlab(83.45, -36.62, 62.66)
CIE-LCHlch(83.45, 72.58, 120.30°)
OKLaboklab(84.48% -0.1046 0.1432)
OKLCHoklch(84.48% 0.177 126.1)
XYZxyz(45.8202, 63.0187, 17.5328)
Luminance0.6302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE051 #8251E0
analogous
#E0C951 #AFE051 #68E051
triadic
#AFE051 #51AFE0 #E051AF
tetradic
#AFE051 #51E0C9 #8251E0 #E05168
square
#AFE051 #51E0C9 #8251E0 #E05168
split-complementary
#AFE051 #5168E0 #C951E0
monochromatic
#6F9B1C #95CF25 #AFE051 #C7E985 #DFF3B9

Accessibility & contrast

On white

1.54
#AFE051 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#AFE051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE051
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE051#FFFFFF#000000##000000
##AFE0511.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23F
Deuteranopia (green-blind)
#E5CF5C
Tritanopia (blue-blind)
#B6D6C2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afe051;
/* rgb */ color: rgb(175, 224, 81);
/* oklch */ color: oklch(84.5% 0.177 126.1);
Tailwind
colors: {
  custom: {
    50: '#caea88',
    500: '#afe051',
    950: '#000000',
  },
}
SCSS
$custom: #afe051;
$custom-light: #caea88;
$custom-dark: #000000;
JSON
{
  "hex": "#afe051",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 81
  },
  "hsl": {
    "h": 80.559,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84484,
    "c": 0.17736,
    "h": 126.1
  },
  "luminance": 0.63019
}

Semantic roles & 50–950 ramp

primary
#AFE051
secondary
#5A379F
accent
#3BED78
background
#FEFEFC
surface
#FBFDF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFE051

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

Preview Lab → · Contrast checker → · Palette generator →

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