#AFD288#AFD288

#AFD288 is a very light, moderate yellow-green. Relative luminance 0.570; OKLCH L 82.0% C 0.105 H 129.1°. Best body text is #000000 at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#AFD288
RGBrgb(175, 210, 136)
HSLhsl(88, 45%, 68%)
HSVhsv(88, 35%, 82%)
CMYKcmyk(16.7%, 0%, 35.2%, 17.6%)
CIE-LABlab(80.17, -24.34, 32.97)
CIE-LCHlch(80.17, 40.98, 126.44°)
OKLaboklab(82.05% -0.0664 0.0818)
OKLCHoklch(82.05% 0.105 129.1)
XYZxyz(45.1691, 56.9841, 31.9071)
Luminance0.5698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD288 #AB88D2
analogous
#D2D088 #AFD288 #8AD288
triadic
#AFD288 #88AFD2 #D288AF
tetradic
#AFD288 #88D2D0 #AB88D2 #D2888A
square
#AFD288 #88D2D0 #AB88D2 #D2888A
split-complementary
#AFD288 #888AD2 #D088D2
monochromatic
#73A23D #91C15C #AFD288 #CDE3B4 #EBF4E1

Accessibility & contrast

On white

1.69
#AFD288 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.40
#AFD288 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD288
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD288#FFFFFF#000000##000000
##AFD2881.001.6912.4012.40
#FFFFFF1.691.0021.0021.00
#00000012.4021.001.001.00
##00000012.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C883
Deuteranopia (green-blind)
#D4C68C
Tritanopia (blue-blind)
#B2CCBF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd288;
/* rgb */ color: rgb(175, 210, 136);
/* oklch */ color: oklch(82.0% 0.105 129.1);
Tailwind
colors: {
  custom: {
    50: '#c8e0ab',
    500: '#afd288',
    950: '#000000',
  },
}
SCSS
$custom: #afd288;
$custom-light: #c8e0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#afd288",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 136
  },
  "hsl": {
    "h": 88.378,
    "s": 45.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.82049,
    "c": 0.10534,
    "h": 129.1
  },
  "luminance": 0.56985
}

Semantic roles & 50–950 ramp

primary
#AFD288
secondary
#7D57A7
accent
#2DB86F
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD288

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

Preview Lab → · Contrast checker → · Palette generator →

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