#AFDF4E#AFDF4E

#AFDF4E is a very light, vivid yellow-green. Relative luminance 0.624; OKLCH L 84.2% C 0.178 H 125.8°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#AFDF4E
RGBrgb(175, 223, 78)
HSLhsl(80, 69%, 59%)
HSVhsv(80, 65%, 87%)
CMYKcmyk(21.5%, 0%, 65%, 12.5%)
CIE-LABlab(83.15, -36.38, 63.54)
CIE-LCHlch(83.15, 73.22, 119.80°)
OKLaboklab(84.23% -0.1042 0.1447)
OKLCHoklch(84.23% 0.178 125.8)
XYZxyz(45.4422, 62.4388, 16.8641)
Luminance0.6244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF4E #7E4EDF
analogous
#DFC74E #AFDF4E #67DF4E
triadic
#AFDF4E #4EAFDF #DF4EAF
tetradic
#AFDF4E #4EDFC7 #7E4EDF #DF4E67
square
#AFDF4E #4EDFC7 #7E4EDF #DF4E67
split-complementary
#AFDF4E #4E67DF #C74EDF
monochromatic
#6E971B #94CB25 #AFDF4E #C6E882 #DEF2B6

Accessibility & contrast

On white

1.56
#AFDF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.49
#AFDF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF4E
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF4E#FFFFFF#000000##000000
##AFDF4E1.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD13A
Deuteranopia (green-blind)
#E4CE59
Tritanopia (blue-blind)
#B6D5C1
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #afdf4e;
/* rgb */ color: rgb(175, 223, 78);
/* oklch */ color: oklch(84.2% 0.178 125.8);
Tailwind
colors: {
  custom: {
    50: '#cae986',
    500: '#afdf4e',
    950: '#000000',
  },
}
SCSS
$custom: #afdf4e;
$custom-light: #cae986;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf4e",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 78
  },
  "hsl": {
    "h": 79.862,
    "s": 69.378,
    "l": 59.02
  },
  "oklch": {
    "l": 0.84229,
    "c": 0.1783,
    "h": 125.8
  },
  "luminance": 0.62439
}

Semantic roles & 50–950 ramp

primary
#AFDF4E
secondary
#57369B
accent
#3CEC76
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14160C
muted
#83847F

Preview Lab

Preview with #AFDF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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