#AFDA62#AFDA62

#AFDA62 is a very light, vivid yellow-green. Relative luminance 0.601; OKLCH L 83.3% C 0.156 H 126.0°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#AFDA62
RGBrgb(175, 218, 98)
HSLhsl(82, 62%, 62%)
HSVhsv(82, 55%, 85%)
CMYKcmyk(19.7%, 0%, 55%, 14.5%)
CIE-LABlab(81.91, -32.47, 53.64)
CIE-LCHlch(81.91, 62.71, 121.19°)
OKLaboklab(83.29% -0.0916 0.1259)
OKLCHoklch(83.29% 0.156 126)
XYZxyz(44.9552, 60.1381, 20.7923)
Luminance0.6014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA62 #8D62DA
analogous
#DAC962 #AFDA62 #73DA62
triadic
#AFDA62 #62AFDA #DA62AF
tetradic
#AFDA62 #62DAC9 #8D62DA #DA6273
square
#AFDA62 #62DAC9 #8D62DA #DA6273
split-complementary
#AFDA62 #6273DA #C962DA
monochromatic
#729D25 #96CE31 #AFDA62 #C8E694 #E1F1C5

Accessibility & contrast

On white

1.61
#AFDA62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#AFDA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDA62
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDA62#FFFFFF#000000##000000
##AFDA621.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD56
Deuteranopia (green-blind)
#DECB6A
Tritanopia (blue-blind)
#B5D1BF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afda62;
/* rgb */ color: rgb(175, 218, 98);
/* oklch */ color: oklch(83.3% 0.156 126.0);
Tailwind
colors: {
  custom: {
    50: '#c9e592',
    500: '#afda62',
    950: '#000000',
  },
}
SCSS
$custom: #afda62;
$custom-light: #c9e592;
$custom-dark: #000000;
JSON
{
  "hex": "#afda62",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 98
  },
  "hsl": {
    "h": 81.5,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.8329,
    "c": 0.15571,
    "h": 126
  },
  "luminance": 0.60139
}

Semantic roles & 50–950 ramp

primary
#AFDA62
secondary
#6240A1
accent
#1CCA5A
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFDA62

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

Preview Lab → · Contrast checker → · Palette generator →

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