#AFDC7E#AFDC7E

#AFDC7E is a very light, vivid yellow-green. Relative luminance 0.618; OKLCH L 84.1% C 0.131 H 129.7°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#AFDC7E
RGBrgb(175, 220, 126)
HSLhsl(89, 57%, 68%)
HSVhsv(89, 43%, 86%)
CMYKcmyk(20.5%, 0%, 42.7%, 13.7%)
CIE-LABlab(82.81, -30.41, 41.41)
CIE-LCHlch(82.81, 51.38, 126.30°)
OKLaboklab(84.12% -0.0838 0.1008)
OKLCHoklch(84.12% 0.131 129.7)
XYZxyz(47.0377, 61.8059, 29.1862)
Luminance0.6181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC7E #AB7EDC
analogous
#DCDA7E #AFDC7E #80DC7E
triadic
#AFDC7E #7EAFDC #DC7EAF
tetradic
#AFDC7E #7EDCDA #AB7EDC #DC7E80
square
#AFDC7E #7EDCDA #AB7EDC #DC7E80
split-complementary
#AFDC7E #7E80DC #DA7EDC
monochromatic
#73B030 #91CF4E #AFDC7E #CDE9AE #EBF6DE

Accessibility & contrast

On white

1.57
#AFDC7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#AFDC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC7E
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC7E#FFFFFF#000000##000000
##AFDC7E1.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D077
Deuteranopia (green-blind)
#DDCD83
Tritanopia (blue-blind)
#B2D5C5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afdc7e;
/* rgb */ color: rgb(175, 220, 126);
/* oklch */ color: oklch(84.1% 0.131 129.7);
Tailwind
colors: {
  custom: {
    50: '#c8e7a5',
    500: '#afdc7e',
    950: '#000000',
  },
}
SCSS
$custom: #afdc7e;
$custom-light: #c8e7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc7e",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 126
  },
  "hsl": {
    "h": 88.723,
    "s": 57.317,
    "l": 67.843
  },
  "oklch": {
    "l": 0.84122,
    "c": 0.13111,
    "h": 129.7
  },
  "luminance": 0.61807
}

Semantic roles & 50–950 ramp

primary
#AFDC7E
secondary
#7D4CB2
accent
#21C56F
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13160F
muted
#828480

Preview Lab

Preview with #AFDC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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