#AFD652#AFD652

#AFD652 is a very light, vivid yellow-green. Relative luminance 0.578; OKLCH L 82.2% C 0.164 H 123.9°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#AFD652
RGBrgb(175, 214, 82)
HSLhsl(78, 62%, 58%)
HSVhsv(78, 62%, 84%)
CMYKcmyk(18.2%, 0%, 61.7%, 16.1%)
CIE-LABlab(80.64, -31.96, 59.21)
CIE-LCHlch(80.64, 67.29, 118.36°)
OKLaboklab(82.21% -0.0916 0.1361)
OKLCHoklch(82.21% 0.164 123.9)
XYZxyz(43.2490, 57.8160, 16.8621)
Luminance0.5782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD652 #7952D6
analogous
#D6BB52 #AFD652 #6DD652
triadic
#AFD652 #52AFD6 #D652AF
tetradic
#AFD652 #52D6BB #7952D6 #D6526D
square
#AFD652 #52D6BB #7952D6 #D6526D
split-complementary
#AFD652 #526DD6 #BB52D6
monochromatic
#6D8C21 #93BE2D #AFD652 #C6E283 #DDEDB5

Accessibility & contrast

On white

1.67
#AFD652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#AFD652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD652
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD652#FFFFFF#000000##000000
##AFD6521.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C942
Deuteranopia (green-blind)
#DCC85B
Tritanopia (blue-blind)
#B7CCBA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd652;
/* rgb */ color: rgb(175, 214, 82);
/* oklch */ color: oklch(82.2% 0.164 123.9);
Tailwind
colors: {
  custom: {
    50: '#cae288',
    500: '#afd652',
    950: '#000000',
  },
}
SCSS
$custom: #afd652;
$custom-light: #cae288;
$custom-dark: #000000;
JSON
{
  "hex": "#afd652",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 82
  },
  "hsl": {
    "h": 77.727,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82212,
    "c": 0.16403,
    "h": 123.9
  },
  "luminance": 0.57816
}

Semantic roles & 50–950 ramp

primary
#AFD652
secondary
#543A92
accent
#43E573
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD652

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

Preview Lab → · Contrast checker → · Palette generator →

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