#AFD68E#AFD68E

#AFD68E is a very light, moderate yellow-green. Relative luminance 0.592; OKLCH L 83.1% C 0.105 H 131.5°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#AFD68E
RGBrgb(175, 214, 142)
HSLhsl(93, 47%, 70%)
HSVhsv(93, 34%, 84%)
CMYKcmyk(18.2%, 0%, 33.6%, 16.1%)
CIE-LABlab(81.38, -25.45, 31.48)
CIE-LCHlch(81.38, 40.48, 128.96°)
OKLaboklab(83.05% -0.0693 0.0785)
OKLCHoklch(83.05% 0.105 131.5)
XYZxyz(46.6074, 59.1593, 34.5493)
Luminance0.5916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD68E #B58ED6
analogous
#D3D68E #AFD68E #8ED691
triadic
#AFD68E #8EAFD6 #D68EAF
tetradic
#AFD68E #8ED3D6 #B58ED6 #D6918E
square
#AFD68E #8ED3D6 #B58ED6 #D6918E
split-complementary
#AFD68E #918ED6 #D68ED3
monochromatic
#70AB3E #8FC661 #AFD68E #CFE6BB #EFF7E8

Accessibility & contrast

On white

1.64
#AFD68E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#AFD68E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD68E
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD68E#FFFFFF#000000##000000
##AFD68E1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCC89
Deuteranopia (green-blind)
#D6C992
Tritanopia (blue-blind)
#B1D0C4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #afd68e;
/* rgb */ color: rgb(175, 214, 142);
/* oklch */ color: oklch(83.1% 0.105 131.5);
Tailwind
colors: {
  custom: {
    50: '#c8e2af',
    500: '#afd68e',
    950: '#000000',
  },
}
SCSS
$custom: #afd68e;
$custom-light: #c8e2af;
$custom-dark: #000000;
JSON
{
  "hex": "#afd68e",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 142
  },
  "hsl": {
    "h": 92.5,
    "s": 46.753,
    "l": 69.804
  },
  "oklch": {
    "l": 0.83051,
    "c": 0.1047,
    "h": 131.5
  },
  "luminance": 0.5916
}

Semantic roles & 50–950 ramp

primary
#AFD68E
secondary
#875CAC
accent
#2CBA79
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD68E

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

Preview Lab → · Contrast checker → · Palette generator →

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