#AFDF7E#AFDF7E

#AFDF7E is a very light, vivid yellow-green. Relative luminance 0.634; OKLCH L 84.8% C 0.135 H 130.4°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#AFDF7E
RGBrgb(175, 223, 126)
HSLhsl(90, 60%, 68%)
HSVhsv(90, 43%, 87%)
CMYKcmyk(21.5%, 0%, 43.5%, 12.5%)
CIE-LABlab(83.65, -31.82, 42.47)
CIE-LCHlch(83.65, 53.06, 126.84°)
OKLaboklab(84.8% -0.0877 0.1032)
OKLCHoklch(84.8% 0.135 130.4)
XYZxyz(47.8321, 63.3947, 29.4510)
Luminance0.6340 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDF7E #AE7EDF
analogous
#DFDE7E #AFDF7E #7EDF7E
triadic
#AFDF7E #7EAFDF #DF7EAF
tetradic
#AFDF7E #7EDFDE #AE7EDF #DF7E7E
square
#AFDF7E #7EDFDE #AE7EDF #DF7E7E
split-complementary
#AFDF7E #7E7EDF #DE7EDF
monochromatic
#72B62D #91D34D #AFDF7E #CDEBAF #ECF7E0

Accessibility & contrast

On white

1.54
#AFDF7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#AFDF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDF7E
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDF7E#FFFFFF#000000##000000
##AFDF7E1.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D376
Deuteranopia (green-blind)
#E0CF83
Tritanopia (blue-blind)
#B2D8C8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #afdf7e;
/* rgb */ color: rgb(175, 223, 126);
/* oklch */ color: oklch(84.8% 0.135 130.4);
Tailwind
colors: {
  custom: {
    50: '#c8e9a5',
    500: '#afdf7e',
    950: '#000000',
  },
}
SCSS
$custom: #afdf7e;
$custom-light: #c8e9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#afdf7e",
  "rgb": {
    "r": 175,
    "g": 223,
    "b": 126
  },
  "hsl": {
    "h": 89.691,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.84798,
    "c": 0.13547,
    "h": 130.4
  },
  "luminance": 0.63396
}

Semantic roles & 50–950 ramp

primary
#AFDF7E
secondary
#804BB6
accent
#1EC872
background
#FEFEFC
surface
#FAFDF6
border
#D3D5D0
text
#13160F
muted
#838480

Preview Lab

Preview with #AFDF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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