#AFD248#AFD248

#AFD248 is a light, vivid yellow-green. Relative luminance 0.557; OKLCH L 81.2% C 0.167 H 122.4°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#AFD248
RGBrgb(175, 210, 72)
HSLhsl(75, 61%, 55%)
HSVhsv(75, 66%, 82%)
CMYKcmyk(16.7%, 0%, 65.7%, 17.6%)
CIE-LABlab(79.43, -30.81, 62.00)
CIE-LCHlch(79.43, 69.24, 116.42°)
OKLaboklab(81.21% -0.0893 0.1407)
OKLCHoklch(81.21% 0.167 122.4)
XYZxyz(41.8960, 55.6749, 14.6688)
Luminance0.5567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD248 #6B48D2
analogous
#D2B048 #AFD248 #6AD248
triadic
#AFD248 #48AFD2 #D248AF
tetradic
#AFD248 #48D2B0 #6B48D2 #D2486A
square
#AFD248 #48D2B0 #6B48D2 #D2486A
split-complementary
#AFD248 #486AD2 #B048D2
monochromatic
#688020 #8FB12C #AFD248 #C4DE79 #DAEAAA

Accessibility & contrast

On white

1.73
#AFD248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#AFD248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD248
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD248#FFFFFF#000000##000000
##AFD2481.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC635
Deuteranopia (green-blind)
#D9C552
Tritanopia (blue-blind)
#B8C8B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd248;
/* rgb */ color: rgb(175, 210, 72);
/* oklch */ color: oklch(81.2% 0.167 122.4);
Tailwind
colors: {
  custom: {
    50: '#cadf82',
    500: '#afd248',
    950: '#000000',
  },
}
SCSS
$custom: #afd248;
$custom-light: #cadf82;
$custom-dark: #000000;
JSON
{
  "hex": "#afd248",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 72
  },
  "hsl": {
    "h": 75.217,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81212,
    "c": 0.16662,
    "h": 122.4
  },
  "luminance": 0.55675
}

Semantic roles & 50–950 ramp

primary
#AFD248
secondary
#4B3787
accent
#44E46D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD248

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

Preview Lab → · Contrast checker → · Palette generator →

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