#AFD26E#AFD26E

#AFD26E is a light, vivid yellow-green. Relative luminance 0.563; OKLCH L 81.6% C 0.133 H 125.1°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#AFD26E
RGBrgb(175, 210, 110)
HSLhsl(81, 53%, 63%)
HSVhsv(81, 48%, 82%)
CMYKcmyk(16.7%, 0%, 47.6%, 17.6%)
CIE-LABlab(79.80, -27.51, 45.50)
CIE-LCHlch(79.80, 53.17, 121.15°)
OKLaboklab(81.63% -0.0767 0.1091)
OKLCHoklch(81.63% 0.133 125.1)
XYZxyz(43.5402, 56.3326, 23.3283)
Luminance0.5633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD26E #916ED2
analogous
#D2C36E #AFD26E #7DD26E
triadic
#AFD26E #6EAFD2 #D26EAF
tetradic
#AFD26E #6ED2C3 #916ED2 #D26E7D
square
#AFD26E #6ED2C3 #916ED2 #D26E7D
split-complementary
#AFD26E #6E7DD2 #C36ED2
monochromatic
#72972F #95C43F #AFD26E #C9E09D #E3EFCB

Accessibility & contrast

On white

1.71
#AFD26E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#AFD26E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD26E
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD26E#FFFFFF#000000##000000
##AFD26E1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC765
Deuteranopia (green-blind)
#D7C574
Tritanopia (blue-blind)
#B5CABB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd26e;
/* rgb */ color: rgb(175, 210, 110);
/* oklch */ color: oklch(81.6% 0.133 125.1);
Tailwind
colors: {
  custom: {
    50: '#c8e099',
    500: '#afd26e',
    950: '#000000',
  },
}
SCSS
$custom: #afd26e;
$custom-light: #c8e099;
$custom-dark: #000000;
JSON
{
  "hex": "#afd26e",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 110
  },
  "hsl": {
    "h": 81,
    "s": 52.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.81634,
    "c": 0.13339,
    "h": 125.1
  },
  "luminance": 0.56333
}

Semantic roles & 50–950 ramp

primary
#AFD26E
secondary
#65489C
accent
#25C05C
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD26E

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

Preview Lab → · Contrast checker → · Palette generator →

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