#AFD482#AFD482

#AFD482 is a very light, moderate yellow-green. Relative luminance 0.578; OKLCH L 82.4% C 0.115 H 128.5°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#AFD482
RGBrgb(175, 212, 130)
HSLhsl(87, 49%, 67%)
HSVhsv(87, 39%, 83%)
CMYKcmyk(17.5%, 0%, 38.7%, 16.9%)
CIE-LABlab(80.63, -26.10, 36.63)
CIE-LCHlch(80.63, 44.98, 125.48°)
OKLaboklab(82.39% -0.0716 0.0901)
OKLCHoklch(82.39% 0.115 128.5)
XYZxyz(45.2514, 57.8121, 29.8896)
Luminance0.5781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD482 #A782D4
analogous
#D4D082 #AFD482 #86D482
triadic
#AFD482 #82AFD4 #D482AF
tetradic
#AFD482 #82D4D0 #A782D4 #D48286
square
#AFD482 #82D4D0 #A782D4 #D48286
split-complementary
#AFD482 #8286D4 #D082D4
monochromatic
#73A338 #92C454 #AFD482 #CCE4B0 #E9F3DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD482#FFFFFF#000000##000000
##AFD4821.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)
#DCCA7C
Deuteranopia (green-blind)
#D6C786
Tritanopia (blue-blind)
#B2CDC0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd482;
/* rgb */ color: rgb(175, 212, 130);
/* oklch */ color: oklch(82.4% 0.115 128.5);
Tailwind
colors: {
  custom: {
    50: '#c8e1a7',
    500: '#afd482',
    950: '#000000',
  },
}
SCSS
$custom: #afd482;
$custom-light: #c8e1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#afd482",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 130
  },
  "hsl": {
    "h": 87.073,
    "s": 48.81,
    "l": 67.059
  },
  "oklch": {
    "l": 0.82391,
    "c": 0.11505,
    "h": 128.5
  },
  "luminance": 0.57813
}

Semantic roles & 50–950 ramp

primary
#AFD482
secondary
#7952A8
accent
#29BC6C
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD482

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

Preview Lab → · Contrast checker → · Palette generator →

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