#AFD48D#AFD48D

#AFD48D is a very light, moderate yellow-green. Relative luminance 0.581; OKLCH L 82.6% C 0.103 H 130.7°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#AFD48D
RGBrgb(175, 212, 141)
HSLhsl(91, 45%, 69%)
HSVhsv(91, 33%, 83%)
CMYKcmyk(17.5%, 0%, 33.5%, 16.9%)
CIE-LABlab(80.81, -24.63, 31.24)
CIE-LCHlch(80.81, 39.78, 128.25°)
OKLaboklab(82.59% -0.067 0.0779)
OKLCHoklch(82.59% 0.103 130.7)
XYZxyz(46.0296, 58.1233, 33.9880)
Luminance0.5812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD48D #B28DD4
analogous
#D3D48D #AFD48D #8DD48F
triadic
#AFD48D #8DAFD4 #D48DAF
tetradic
#AFD48D #8DD3D4 #B28DD4 #D48F8D
square
#AFD48D #8DD3D4 #B28DD4 #D48F8D
split-complementary
#AFD48D #8F8DD4 #D48DD3
monochromatic
#71A73F #90C361 #AFD48D #CEE5B9 #EDF6E6

Accessibility & contrast

On white

1.66
#AFD48D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#AFD48D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD48D
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD48D#FFFFFF#000000##000000
##AFD48D1.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DACA88
Deuteranopia (green-blind)
#D5C891
Tritanopia (blue-blind)
#B1CEC2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd48d;
/* rgb */ color: rgb(175, 212, 141);
/* oklch */ color: oklch(82.6% 0.103 130.7);
Tailwind
colors: {
  custom: {
    50: '#c8e1af',
    500: '#afd48d',
    950: '#000000',
  },
}
SCSS
$custom: #afd48d;
$custom-light: #c8e1af;
$custom-dark: #000000;
JSON
{
  "hex": "#afd48d",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 141
  },
  "hsl": {
    "h": 91.268,
    "s": 45.223,
    "l": 69.216
  },
  "oklch": {
    "l": 0.82586,
    "c": 0.10274,
    "h": 130.7
  },
  "luminance": 0.58124
}

Semantic roles & 50–950 ramp

primary
#AFD48D
secondary
#845BAA
accent
#2DB876
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD48D

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

Preview Lab → · Contrast checker → · Palette generator →

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