#AFD868#AFD868

#AFD868 is a very light, vivid yellow-green. Relative luminance 0.592; OKLCH L 82.9% C 0.147 H 126.1°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#AFD868
RGBrgb(175, 216, 104)
HSLhsl(82, 59%, 63%)
HSVhsv(82, 52%, 85%)
CMYKcmyk(19%, 0%, 51.9%, 15.3%)
CIE-LABlab(81.42, -30.96, 50.30)
CIE-LCHlch(81.42, 59.07, 121.62°)
OKLaboklab(82.91% -0.0869 0.1192)
OKLCHoklch(82.91% 0.147 126.1)
XYZxyz(44.7337, 59.2247, 22.1688)
Luminance0.5923 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD868 #9168D8
analogous
#D8C968 #AFD868 #77D868
triadic
#AFD868 #68AFD8 #D868AF
tetradic
#AFD868 #68D8C9 #9168D8 #D86877
square
#AFD868 #68D8C9 #9168D8 #D86877
split-complementary
#AFD868 #6877D8 #C968D8
monochromatic
#729D29 #95CB37 #AFD868 #C9E599 #E3F1C9

Accessibility & contrast

On white

1.63
#AFD868 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#AFD868 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD868
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD868#FFFFFF#000000##000000
##AFD8681.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC5E
Deuteranopia (green-blind)
#DCCA6F
Tritanopia (blue-blind)
#B5CFBF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd868;
/* rgb */ color: rgb(175, 216, 104);
/* oklch */ color: oklch(82.9% 0.147 126.1);
Tailwind
colors: {
  custom: {
    50: '#c9e496',
    500: '#afd868',
    950: '#000000',
  },
}
SCSS
$custom: #afd868;
$custom-light: #c9e496;
$custom-dark: #000000;
JSON
{
  "hex": "#afd868",
  "rgb": {
    "r": 175,
    "g": 216,
    "b": 104
  },
  "hsl": {
    "h": 81.964,
    "s": 58.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.82909,
    "c": 0.14749,
    "h": 126.1
  },
  "luminance": 0.59225
}

Semantic roles & 50–950 ramp

primary
#AFD868
secondary
#6543A1
accent
#1FC75C
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD868

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

Preview Lab → · Contrast checker → · Palette generator →

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