#AFD26F#AFD26F

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

Color values

HEX#AFD26F
RGBrgb(175, 210, 111)
HSLhsl(81, 52%, 63%)
HSVhsv(81, 47%, 82%)
CMYKcmyk(16.7%, 0%, 47.1%, 17.6%)
CIE-LABlab(79.82, -27.40, 45.03)
CIE-LCHlch(79.82, 52.71, 121.32°)
OKLaboklab(81.65% -0.0764 0.1081)
OKLCHoklch(81.65% 0.132 125.2)
XYZxyz(43.5949, 56.3545, 23.6166)
Luminance0.5635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD26F #926FD2
analogous
#D2C36F #AFD26F #7DD26F
triadic
#AFD26F #6FAFD2 #D26FAF
tetradic
#AFD26F #6FD2C3 #926FD2 #D26F7D
square
#AFD26F #6FD2C3 #926FD2 #D26F7D
split-complementary
#AFD26F #6F7DD2 #C36FD2
monochromatic
#73972F #95C340 #AFD26F #C9E19E #E3EFCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD26F#FFFFFF#000000##000000
##AFD26F1.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)
#DBC767
Deuteranopia (green-blind)
#D6C575
Tritanopia (blue-blind)
#B5CABB
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #afd26f;
/* rgb */ color: rgb(175, 210, 111);
/* oklch */ color: oklch(81.6% 0.132 125.2);
Tailwind
colors: {
  custom: {
    50: '#c8e09a',
    500: '#afd26f',
    950: '#000000',
  },
}
SCSS
$custom: #afd26f;
$custom-light: #c8e09a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd26f",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 111
  },
  "hsl": {
    "h": 81.212,
    "s": 52.381,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81648,
    "c": 0.13237,
    "h": 125.2
  },
  "luminance": 0.56355
}

Semantic roles & 50–950 ramp

primary
#AFD26F
secondary
#66499D
accent
#26C05C
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFD26F

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

Preview Lab → · Contrast checker → · Palette generator →

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