#AFD048#AFD048

#AFD048 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.8% C 0.164 H 121.9°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#AFD048
RGBrgb(175, 208, 72)
HSLhsl(75, 59%, 55%)
HSVhsv(75, 65%, 82%)
CMYKcmyk(15.9%, 0%, 65.4%, 18.4%)
CIE-LABlab(78.86, -29.87, 61.41)
CIE-LCHlch(78.86, 68.29, 115.93°)
OKLaboklab(80.76% -0.0867 0.1394)
OKLCHoklch(80.76% 0.164 121.9)
XYZxyz(41.4053, 54.6935, 14.5052)
Luminance0.5469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD048 #6948D0
analogous
#D0AD48 #AFD048 #6BD048
triadic
#AFD048 #48AFD0 #D048AF
tetradic
#AFD048 #48D0AD #6948D0 #D0486B
square
#AFD048 #48D0AD #6948D0 #D0486B
split-complementary
#AFD048 #486BD0 #AD48D0
monochromatic
#677D20 #8FAE2D #AFD048 #C4DD79 #DAE9A9

Accessibility & contrast

On white

1.76
#AFD048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#AFD048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD048
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD048#FFFFFF#000000##000000
##AFD0481.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC435
Deuteranopia (green-blind)
#D8C352
Tritanopia (blue-blind)
#B8C6B4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afd048;
/* rgb */ color: rgb(175, 208, 72);
/* oklch */ color: oklch(80.8% 0.164 121.9);
Tailwind
colors: {
  custom: {
    50: '#cade82',
    500: '#afd048',
    950: '#000000',
  },
}
SCSS
$custom: #afd048;
$custom-light: #cade82;
$custom-dark: #000000;
JSON
{
  "hex": "#afd048",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 72
  },
  "hsl": {
    "h": 74.559,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80757,
    "c": 0.16418,
    "h": 121.9
  },
  "luminance": 0.54694
}

Semantic roles & 50–950 ramp

primary
#AFD048
secondary
#4A3785
accent
#45E26C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD048

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

Preview Lab → · Contrast checker → · Palette generator →

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