#AFEF6B#AFEF6B

#AFEF6B is a very light, vivid yellow-green. Relative luminance 0.719; OKLCH L 88.2% C 0.176 H 130.8°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#AFEF6B
RGBrgb(175, 239, 107)
HSLhsl(89, 80%, 68%)
HSVhsv(89, 55%, 94%)
CMYKcmyk(26.8%, 0%, 55.2%, 6.3%)
CIE-LABlab(87.92, -41.12, 56.57)
CIE-LCHlch(87.92, 69.93, 126.01°)
OKLaboklab(88.18% -0.1148 0.1331)
OKLCHoklch(88.18% 0.176 130.8)
XYZxyz(51.1990, 71.9071, 25.0890)
Luminance0.7191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF6B #AB6BEF
analogous
#EFED6B #AFEF6B #6DEF6B
triadic
#AFEF6B #6BAFEF #EF6BAF
tetradic
#AFEF6B #6BEFED #AB6BEF #EF6B6D
square
#AFEF6B #6BEFED #AB6BEF #EF6B6D
split-complementary
#AFEF6B #6B6DEF #ED6BEF
monochromatic
#73CA16 #91E934 #AFEF6B #CDF5A2 #EBFBD9

Accessibility & contrast

On white

1.37
#AFEF6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.38
#AFEF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF6B
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF6B#FFFFFF#000000##000000
##AFEF6B1.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E05E
Deuteranopia (green-blind)
#EFDB74
Tritanopia (blue-blind)
#B2E6D2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #afef6b;
/* rgb */ color: rgb(175, 239, 107);
/* oklch */ color: oklch(88.2% 0.176 130.8);
Tailwind
colors: {
  custom: {
    50: '#caf499',
    500: '#afef6b',
    950: '#000000',
  },
}
SCSS
$custom: #afef6b;
$custom-light: #caf499;
$custom-dark: #000000;
JSON
{
  "hex": "#afef6b",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 107
  },
  "hsl": {
    "h": 89.091,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88181,
    "c": 0.17576,
    "h": 130.8
  },
  "luminance": 0.71909
}

Semantic roles & 50–950 ramp

primary
#AFEF6B
secondary
#7D37C7
accent
#09DD70
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#14170E
muted
#83857F

Preview Lab

Preview with #AFEF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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