#AFD352#AFD352

#AFD352 is a light, vivid yellow-green. Relative luminance 0.563; OKLCH L 81.5% C 0.160 H 123.2°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#AFD352
RGBrgb(175, 211, 82)
HSLhsl(77, 59%, 57%)
HSVhsv(77, 61%, 83%)
CMYKcmyk(17.1%, 0%, 61.1%, 17.3%)
CIE-LABlab(79.79, -30.56, 58.29)
CIE-LCHlch(79.79, 65.81, 117.67°)
OKLaboklab(81.53% -0.0877 0.1341)
OKLCHoklch(81.53% 0.16 123.2)
XYZxyz(42.4968, 56.3115, 16.6114)
Luminance0.5631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD352 #7652D3
analogous
#D3B652 #AFD352 #6FD352
triadic
#AFD352 #52AFD3 #D352AF
tetradic
#AFD352 #52D3B6 #7652D3 #D3526F
square
#AFD352 #52D3B6 #7652D3 #D3526F
split-complementary
#AFD352 #526FD3 #B652D3
monochromatic
#6C8823 #92B92F #AFD352 #C6DF83 #DCECB4

Accessibility & contrast

On white

1.71
#AFD352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#AFD352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD352
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD352#FFFFFF#000000##000000
##AFD3521.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC743
Deuteranopia (green-blind)
#DAC65B
Tritanopia (blue-blind)
#B7C9B8
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd352;
/* rgb */ color: rgb(175, 211, 82);
/* oklch */ color: oklch(81.5% 0.160 123.2);
Tailwind
colors: {
  custom: {
    50: '#cae088',
    500: '#afd352',
    950: '#000000',
  },
}
SCSS
$custom: #afd352;
$custom-light: #cae088;
$custom-dark: #000000;
JSON
{
  "hex": "#afd352",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 82
  },
  "hsl": {
    "h": 76.744,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8153,
    "c": 0.16025,
    "h": 123.2
  },
  "luminance": 0.56312
}

Semantic roles & 50–950 ramp

primary
#AFD352
secondary
#523B8E
accent
#45E371
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD352

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

Preview Lab → · Contrast checker → · Palette generator →

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