#AFDA48#AFDA48

#AFDA48 is a very light, vivid yellow-green. Relative luminance 0.597; OKLCH L 83.0% C 0.176 H 124.4°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#AFDA48
RGBrgb(175, 218, 72)
HSLhsl(78, 66%, 57%)
HSVhsv(78, 67%, 85%)
CMYKcmyk(19.7%, 0%, 67%, 14.5%)
CIE-LABlab(81.69, -34.51, 64.35)
CIE-LCHlch(81.69, 73.02, 118.21°)
OKLaboklab(83.04% -0.0995 0.1456)
OKLCHoklch(83.04% 0.176 124.4)
XYZxyz(43.9206, 59.7243, 15.3437)
Luminance0.5972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA48 #7348DA
analogous
#DABC48 #AFDA48 #66DA48
triadic
#AFDA48 #48AFDA #DA48AF
tetradic
#AFDA48 #48DABC #7348DA #DA4866
square
#AFDA48 #48DABC #7348DA #DA4866
split-complementary
#AFDA48 #4866DA #BC48DA
monochromatic
#6B8B1C #92BE26 #AFDA48 #C5E47B #DCEFAE

Accessibility & contrast

On white

1.62
#AFDA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#AFDA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDA48
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDA48#FFFFFF#000000##000000
##AFDA481.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC33
Deuteranopia (green-blind)
#E0CB54
Tritanopia (blue-blind)
#B7D0BD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afda48;
/* rgb */ color: rgb(175, 218, 72);
/* oklch */ color: oklch(83.0% 0.176 124.4);
Tailwind
colors: {
  custom: {
    50: '#cae583',
    500: '#afda48',
    950: '#000000',
  },
}
SCSS
$custom: #afda48;
$custom-light: #cae583;
$custom-dark: #000000;
JSON
{
  "hex": "#afda48",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 72
  },
  "hsl": {
    "h": 77.671,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83036,
    "c": 0.17637,
    "h": 124.4
  },
  "luminance": 0.59725
}

Semantic roles & 50–950 ramp

primary
#AFDA48
secondary
#503591
accent
#3FE971
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFDA48

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

Preview Lab → · Contrast checker → · Palette generator →

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