#AFDF4A#AFDF4A

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

Color values

HEX#AFDF4A
RGBrgb(175, 223, 74)
HSLhsl(79, 70%, 58%)
HSVhsv(79, 67%, 87%)
CMYKcmyk(21.5%, 0%, 66.8%, 12.5%)
CIE-LABlab(83.12, -36.66, 65.06)
CIE-LCHlch(83.12, 74.68, 119.40°)
OKLaboklab(84.2% -0.1053 0.1474)
OKLCHoklch(84.2% 0.181 125.5)
XYZxyz(45.3031, 62.3832, 16.1316)
Luminance0.6238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF4A #7A4ADF
analogous
#DFC44A #AFDF4A #64DF4A
triadic
#AFDF4A #4AAFDF #DF4AAF
tetradic
#AFDF4A #4ADFC4 #7A4ADF #DF4A64
square
#AFDF4A #4ADFC4 #7A4ADF #DF4A64
split-complementary
#AFDF4A #4A64DF #C44ADF
monochromatic
#6D941A #93C823 #AFDF4A #C6E87E #DDF1B2

Accessibility & contrast

On white

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

On black

13.48
#AFDF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF4A
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF4A#FFFFFF#000000##000000
##AFDF4A1.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afdf4a;
/* rgb */ color: rgb(175, 223, 74);
/* oklch */ color: oklch(84.2% 0.181 125.5);
Tailwind
colors: {
  custom: {
    50: '#cae984',
    500: '#afdf4a',
    950: '#000000',
  },
}
SCSS
$custom: #afdf4a;
$custom-light: #cae984;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf4a",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 74
  },
  "hsl": {
    "h": 79.329,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84196,
    "c": 0.18111,
    "h": 125.5
  },
  "luminance": 0.62384
}

Semantic roles & 50–950 ramp

primary
#AFDF4A
secondary
#553499
accent
#3BED74
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14160B
muted
#83847E

Preview Lab

Preview with #AFDF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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