#AFDF55#AFDF55

#AFDF55 is a very light, vivid yellow-green. Relative luminance 0.625; OKLCH L 84.3% C 0.173 H 126.2°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#AFDF55
RGBrgb(175, 223, 85)
HSLhsl(81, 68%, 60%)
HSVhsv(81, 62%, 87%)
CMYKcmyk(21.5%, 0%, 61.9%, 12.5%)
CIE-LABlab(83.20, -35.87, 60.75)
CIE-LCHlch(83.20, 70.55, 120.56°)
OKLaboklab(84.29% -0.1021 0.1397)
OKLCHoklch(84.29% 0.173 126.2)
XYZxyz(45.7067, 62.5446, 18.2569)
Luminance0.6254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF55 #8555DF
analogous
#DFCA55 #AFDF55 #6ADF55
triadic
#AFDF55 #55AFDF #DF55AF
tetradic
#AFDF55 #55DFCA #8555DF #DF556A
square
#AFDF55 #55DFCA #8555DF #DF556A
split-complementary
#AFDF55 #556ADF #CA55DF
monochromatic
#709C1D #95D027 #AFDF55 #C7E989 #DFF2BC

Accessibility & contrast

On white

1.55
#AFDF55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#AFDF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF55
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF55#FFFFFF#000000##000000
##AFDF551.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD144
Deuteranopia (green-blind)
#E3CF5F
Tritanopia (blue-blind)
#B6D5C2
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #afdf55;
/* rgb */ color: rgb(175, 223, 85);
/* oklch */ color: oklch(84.3% 0.173 126.2);
Tailwind
colors: {
  custom: {
    50: '#cae98a',
    500: '#afdf55',
    950: '#000000',
  },
}
SCSS
$custom: #afdf55;
$custom-light: #cae98a;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf55",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 85
  },
  "hsl": {
    "h": 80.87,
    "s": 68.317,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84292,
    "c": 0.17307,
    "h": 126.2
  },
  "luminance": 0.62545
}

Semantic roles & 50–950 ramp

primary
#AFDF55
secondary
#5C38A0
accent
#15D056
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDF55

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

Preview Lab → · Contrast checker → · Palette generator →

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