#AFD552#AFD552

#AFD552 is a light, vivid yellow-green. Relative luminance 0.573; OKLCH L 82.0% C 0.163 H 123.7°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#AFD552
RGBrgb(175, 213, 82)
HSLhsl(77, 61%, 58%)
HSVhsv(77, 62%, 84%)
CMYKcmyk(17.8%, 0%, 61.5%, 16.5%)
CIE-LABlab(80.35, -31.49, 58.90)
CIE-LCHlch(80.35, 66.80, 118.13°)
OKLaboklab(81.98% -0.0903 0.1354)
OKLCHoklch(81.98% 0.163 123.7)
XYZxyz(42.9967, 57.3114, 16.7780)
Luminance0.5731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD552 #7852D5
analogous
#D5BA52 #AFD552 #6DD552
triadic
#AFD552 #52AFD5 #D552AF
tetradic
#AFD552 #52D5BA #7852D5 #D5526D
square
#AFD552 #52D5BA #7852D5 #D5526D
split-complementary
#AFD552 #526DD5 #BA52D5
monochromatic
#6C8B22 #93BC2E #AFD552 #C6E183 #DDEDB4

Accessibility & contrast

On white

1.69
#AFD552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.46
#AFD552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD552
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD552#FFFFFF#000000##000000
##AFD5521.001.6912.4612.46
#FFFFFF1.691.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C842
Deuteranopia (green-blind)
#DBC75B
Tritanopia (blue-blind)
#B7CBB9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd552;
/* rgb */ color: rgb(175, 213, 82);
/* oklch */ color: oklch(82.0% 0.163 123.7);
Tailwind
colors: {
  custom: {
    50: '#cae288',
    500: '#afd552',
    950: '#000000',
  },
}
SCSS
$custom: #afd552;
$custom-light: #cae288;
$custom-dark: #000000;
JSON
{
  "hex": "#afd552",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 82
  },
  "hsl": {
    "h": 77.405,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81984,
    "c": 0.16277,
    "h": 123.7
  },
  "luminance": 0.57312
}

Semantic roles & 50–950 ramp

primary
#AFD552
secondary
#533A91
accent
#44E472
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD552

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

Preview Lab → · Contrast checker → · Palette generator →

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