#AFD08B#AFD08B

#AFD08B is a light, moderate yellow-green. Relative luminance 0.561; OKLCH L 81.7% C 0.099 H 129.2°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#AFD08B
RGBrgb(175, 208, 139)
HSLhsl(89, 42%, 68%)
HSVhsv(89, 33%, 82%)
CMYKcmyk(15.9%, 0%, 33.2%, 18.4%)
CIE-LABlab(79.66, -22.95, 30.76)
CIE-LCHlch(79.66, 38.38, 126.73°)
OKLaboklab(81.66% -0.0624 0.0767)
OKLCHoklch(81.66% 0.099 129.2)
XYZxyz(44.8946, 56.0893, 32.8822)
Luminance0.5609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD08B #AC8BD0
analogous
#D0CE8B #AFD08B #8CD08B
triadic
#AFD08B #8BAFD0 #D08BAF
tetradic
#AFD08B #8BD0CE #AC8BD0 #D08B8C
square
#AFD08B #8BD0CE #AC8BD0 #D08B8C
split-complementary
#AFD08B #8B8CD0 #CE8BD0
monochromatic
#72A041 #91BE5F #AFD08B #CDE2B7 #EBF3E2

Accessibility & contrast

On white

1.72
#AFD08B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#AFD08B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD08B
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD08B#FFFFFF#000000##000000
##AFD08B1.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C786
Deuteranopia (green-blind)
#D2C58E
Tritanopia (blue-blind)
#B2CABE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd08b;
/* rgb */ color: rgb(175, 208, 139);
/* oklch */ color: oklch(81.7% 0.099 129.2);
Tailwind
colors: {
  custom: {
    50: '#c7dead',
    500: '#afd08b',
    950: '#000000',
  },
}
SCSS
$custom: #afd08b;
$custom-light: #c7dead;
$custom-dark: #000000;
JSON
{
  "hex": "#afd08b",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 139
  },
  "hsl": {
    "h": 88.696,
    "s": 42.331,
    "l": 68.039
  },
  "oklch": {
    "l": 0.8166,
    "c": 0.09886,
    "h": 129.2
  },
  "luminance": 0.5609
}

Semantic roles & 50–950 ramp

primary
#AFD08B
secondary
#7E5AA5
accent
#30B570
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD08B

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

Preview Lab → · Contrast checker → · Palette generator →

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