#AFD952#AFD952

#AFD952 is a very light, vivid yellow-green. Relative luminance 0.593; OKLCH L 82.9% C 0.168 H 124.7°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#AFD952
RGBrgb(175, 217, 82)
HSLhsl(79, 64%, 59%)
HSVhsv(79, 62%, 85%)
CMYKcmyk(19.4%, 0%, 62.2%, 14.9%)
CIE-LABlab(81.48, -33.35, 60.13)
CIE-LCHlch(81.48, 68.76, 119.01°)
OKLaboklab(82.9% -0.0954 0.138)
OKLCHoklch(82.9% 0.168 124.7)
XYZxyz(44.0153, 59.3485, 17.1175)
Luminance0.5935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD952 #7C52D9
analogous
#D9C052 #AFD952 #6BD952
triadic
#AFD952 #52AFD9 #D952AF
tetradic
#AFD952 #52D9C0 #7C52D9 #D9526B
square
#AFD952 #52D9C0 #7C52D9 #D9526B
split-complementary
#AFD952 #526BD9 #C052D9
monochromatic
#6E9120 #94C32B #AFD952 #C6E484 #DDEFB6

Accessibility & contrast

On white

1.63
#AFD952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#AFD952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD952
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD952#FFFFFF#000000##000000
##AFD9521.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC42
Deuteranopia (green-blind)
#DFCA5C
Tritanopia (blue-blind)
#B6CFBD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd952;
/* rgb */ color: rgb(175, 217, 82);
/* oklch */ color: oklch(82.9% 0.168 124.7);
Tailwind
colors: {
  custom: {
    50: '#cae588',
    500: '#afd952',
    950: '#000000',
  },
}
SCSS
$custom: #afd952;
$custom-light: #cae588;
$custom-dark: #000000;
JSON
{
  "hex": "#afd952",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 78.667,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82895,
    "c": 0.16781,
    "h": 124.7
  },
  "luminance": 0.59349
}

Semantic roles & 50–950 ramp

primary
#AFD952
secondary
#563996
accent
#41E775
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD952

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

Preview Lab → · Contrast checker → · Palette generator →

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