#AFDE45#AFDE45

#AFDE45 is a very light, vivid yellow-green. Relative luminance 0.618; OKLCH L 83.9% C 0.183 H 125.1°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#AFDE45
RGBrgb(175, 222, 69)
HSLhsl(78, 70%, 57%)
HSVhsv(78, 69%, 87%)
CMYKcmyk(21.2%, 0%, 68.9%, 12.9%)
CIE-LABlab(82.80, -36.52, 66.61)
CIE-LCHlch(82.80, 75.97, 118.73°)
OKLaboklab(83.93% -0.1053 0.1499)
OKLCHoklch(83.93% 0.183 125.1)
XYZxyz(44.8750, 61.7857, 15.1907)
Luminance0.6179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDE45 #7445DE
analogous
#DEC045 #AFDE45 #63DE45
triadic
#AFDE45 #45AFDE #DE45AF
tetradic
#AFDE45 #45DEC0 #7445DE #DE4563
square
#AFDE45 #45DEC0 #7445DE #DE4563
split-complementary
#AFDE45 #4563DE #C045DE
monochromatic
#6B8F19 #92C323 #AFDE45 #C5E779 #DCF0AD

Accessibility & contrast

On white

1.57
#AFDE45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#AFDE45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDE45
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDE45#FFFFFF#000000##000000
##AFDE451.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD02D
Deuteranopia (green-blind)
#E4CE52
Tritanopia (blue-blind)
#B7D4C0
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afde45;
/* rgb */ color: rgb(175, 222, 69);
/* oklch */ color: oklch(83.9% 0.183 125.1);
Tailwind
colors: {
  custom: {
    50: '#cbe881',
    500: '#afde45',
    950: '#000000',
  },
}
SCSS
$custom: #afde45;
$custom-light: #cbe881;
$custom-dark: #000000;
JSON
{
  "hex": "#afde45",
  "rgb": {
    "r": 175,
    "g": 222,
    "b": 69
  },
  "hsl": {
    "h": 78.431,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83928,
    "c": 0.18323,
    "h": 125.1
  },
  "luminance": 0.61786
}

Semantic roles & 50–950 ramp

primary
#AFDE45
secondary
#513394
accent
#3BED72
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFDE45

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

Preview Lab → · Contrast checker → · Palette generator →

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