#AFD052#AFD052

#AFD052 is a light, vivid yellow-green. Relative luminance 0.548; OKLCH L 80.8% C 0.156 H 122.4°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#AFD052
RGBrgb(175, 208, 82)
HSLhsl(76, 57%, 57%)
HSVhsv(76, 61%, 82%)
CMYKcmyk(15.9%, 0%, 60.6%, 18.4%)
CIE-LABlab(78.95, -29.14, 57.36)
CIE-LCHlch(78.95, 64.34, 116.93°)
OKLaboklab(80.85% -0.0838 0.1322)
OKLCHoklch(80.85% 0.156 122.4)
XYZxyz(41.7584, 54.8348, 16.3653)
Luminance0.5484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD052 #7352D0
analogous
#D0B252 #AFD052 #70D052
triadic
#AFD052 #52AFD0 #D052AF
tetradic
#AFD052 #52D0B2 #7352D0 #D05270
square
#AFD052 #52D0B2 #7352D0 #D05270
split-complementary
#AFD052 #5270D0 #B252D0
monochromatic
#6B8424 #92B431 #AFD052 #C5DD82 #DCEAB2

Accessibility & contrast

On white

1.75
#AFD052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#AFD052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD052
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD052#FFFFFF#000000##000000
##AFD0521.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC443
Deuteranopia (green-blind)
#D7C35B
Tritanopia (blue-blind)
#B7C6B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afd052;
/* rgb */ color: rgb(175, 208, 82);
/* oklch */ color: oklch(80.8% 0.156 122.4);
Tailwind
colors: {
  custom: {
    50: '#cade88',
    500: '#afd052',
    950: '#000000',
  },
}
SCSS
$custom: #afd052;
$custom-light: #cade88;
$custom-dark: #000000;
JSON
{
  "hex": "#afd052",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 75.714,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80849,
    "c": 0.15647,
    "h": 122.4
  },
  "luminance": 0.54835
}

Semantic roles & 50–950 ramp

primary
#AFD052
secondary
#503B8B
accent
#47E16F
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD052

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

Preview Lab → · Contrast checker → · Palette generator →

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