#AFDF5C#AFDF5C

#AFDF5C is a very light, vivid yellow-green. Relative luminance 0.627; OKLCH L 84.4% C 0.167 H 126.7°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#AFDF5C
RGBrgb(175, 223, 92)
HSLhsl(82, 67%, 62%)
HSVhsv(82, 59%, 87%)
CMYKcmyk(21.5%, 0%, 58.7%, 12.5%)
CIE-LABlab(83.26, -35.30, 57.85)
CIE-LCHlch(83.26, 67.77, 121.39°)
OKLaboklab(84.36% -0.1 0.1343)
OKLCHoklch(84.36% 0.167 126.7)
XYZxyz(45.9986, 62.6613, 19.7946)
Luminance0.6266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF5C #8C5CDF
analogous
#DFCE5C #AFDF5C #6EDF5C
triadic
#AFDF5C #5CAFDF #DF5CAF
tetradic
#AFDF5C #5CDFCE #8C5CDF #DF5C6E
square
#AFDF5C #5CDFCE #8C5CDF #DF5C6E
split-complementary
#AFDF5C #5C6EDF #CE5CDF
monochromatic
#72A120 #96D42A #AFDF5C #C8E98F #E1F3C2

Accessibility & contrast

On white

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

On black

13.53
#AFDF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF5C
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF5C#FFFFFF#000000##000000
##AFDF5C1.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD14E
Deuteranopia (green-blind)
#E3CF65
Tritanopia (blue-blind)
#B5D6C3
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #afdf5c;
/* rgb */ color: rgb(175, 223, 92);
/* oklch */ color: oklch(84.4% 0.167 126.7);
Tailwind
colors: {
  custom: {
    50: '#cae98f',
    500: '#afdf5c',
    950: '#000000',
  },
}
SCSS
$custom: #afdf5c;
$custom-light: #cae98f;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf5c",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 92
  },
  "hsl": {
    "h": 81.985,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.84362,
    "c": 0.16745,
    "h": 126.7
  },
  "luminance": 0.62662
}

Semantic roles & 50–950 ramp

primary
#AFDF5C
secondary
#623BA4
accent
#16CF5A
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160D
muted
#83847F

Preview Lab

Preview with #AFDF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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