#AFD848#AFD848

#AFD848 is a very light, vivid yellow-green. Relative luminance 0.587; OKLCH L 82.6% C 0.174 H 123.9°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#AFD848
RGBrgb(175, 216, 72)
HSLhsl(77, 65%, 56%)
HSVhsv(77, 67%, 85%)
CMYKcmyk(19%, 0%, 66.7%, 15.3%)
CIE-LABlab(81.12, -33.59, 63.77)
CIE-LCHlch(81.12, 72.07, 117.78°)
OKLaboklab(82.58% -0.097 0.1444)
OKLCHoklch(82.58% 0.174 123.9)
XYZxyz(43.4051, 58.6933, 15.1718)
Luminance0.5869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD848 #7148D8
analogous
#D8B948 #AFD848 #67D848
triadic
#AFD848 #48AFD8 #D848AF
tetradic
#AFD848 #48D8B9 #7148D8 #D84867
square
#AFD848 #48D8B9 #7148D8 #D84867
split-complementary
#AFD848 #4867D8 #B948D8
monochromatic
#6A891D #91BB28 #AFD848 #C5E37A #DBEEAD

Accessibility & contrast

On white

1.65
#AFD848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#AFD848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD848
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD848#FFFFFF#000000##000000
##AFD8481.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB33
Deuteranopia (green-blind)
#DEC953
Tritanopia (blue-blind)
#B7CEBB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd848;
/* rgb */ color: rgb(175, 216, 72);
/* oklch */ color: oklch(82.6% 0.174 123.9);
Tailwind
colors: {
  custom: {
    50: '#cae482',
    500: '#afd848',
    950: '#000000',
  },
}
SCSS
$custom: #afd848;
$custom-light: #cae482;
$custom-dark: #000000;
JSON
{
  "hex": "#afd848",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 72
  },
  "hsl": {
    "h": 77.083,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82579,
    "c": 0.17394,
    "h": 123.9
  },
  "luminance": 0.58694
}

Semantic roles & 50–950 ramp

primary
#AFD848
secondary
#4F368F
accent
#40E870
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFD848

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

Preview Lab → · Contrast checker → · Palette generator →

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