#AFD48B#AFD48B

#AFD48B is a very light, moderate yellow-green. Relative luminance 0.581; OKLCH L 82.5% C 0.105 H 130.3°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#AFD48B
RGBrgb(175, 212, 139)
HSLhsl(90, 46%, 69%)
HSVhsv(90, 34%, 83%)
CMYKcmyk(17.5%, 0%, 34.4%, 16.9%)
CIE-LABlab(80.77, -24.90, 32.22)
CIE-LCHlch(80.77, 40.73, 127.70°)
OKLaboklab(82.55% -0.0679 0.0801)
OKLCHoklch(82.55% 0.105 130.3)
XYZxyz(45.8821, 58.0643, 33.2113)
Luminance0.5806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD48B #B08BD4
analogous
#D4D48B #AFD48B #8BD48C
triadic
#AFD48B #8BAFD4 #D48BAF
tetradic
#AFD48B #8BD4D4 #B08BD4 #D48C8B
square
#AFD48B #8BD4D4 #B08BD4 #D48C8B
split-complementary
#AFD48B #8C8BD4 #D48BD4
monochromatic
#72A73E #90C35E #AFD48B #CEE5B8 #EDF5E4

Accessibility & contrast

On white

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

On black

12.61
#AFD48B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD48B
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD48B#FFFFFF#000000##000000
##AFD48B1.001.6612.6112.61
#FFFFFF1.661.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBCA86
Deuteranopia (green-blind)
#D5C88F
Tritanopia (blue-blind)
#B1CEC1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd48b;
/* rgb */ color: rgb(175, 212, 139);
/* oklch */ color: oklch(82.5% 0.105 130.3);
Tailwind
colors: {
  custom: {
    50: '#c8e1ad',
    500: '#afd48b',
    950: '#000000',
  },
}
SCSS
$custom: #afd48b;
$custom-light: #c8e1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#afd48b",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 139
  },
  "hsl": {
    "h": 90.411,
    "s": 45.912,
    "l": 68.824
  },
  "oklch": {
    "l": 0.82549,
    "c": 0.105,
    "h": 130.3
  },
  "luminance": 0.58065
}

Semantic roles & 50–950 ramp

primary
#AFD48B
secondary
#8259AA
accent
#2CB974
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD48B

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

Preview Lab → · Contrast checker → · Palette generator →

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