#AFEB79#AFEB79

#AFEB79 is a very light, vivid yellow-green. Relative luminance 0.699; OKLCH L 87.4% C 0.158 H 131.8°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#AFEB79
RGBrgb(175, 235, 121)
HSLhsl(92, 74%, 70%)
HSVhsv(92, 49%, 92%)
CMYKcmyk(25.5%, 0%, 48.5%, 7.8%)
CIE-LABlab(86.95, -37.89, 48.97)
CIE-LCHlch(86.95, 61.92, 127.73°)
OKLaboklab(87.45% -0.1049 0.1175)
OKLCHoklch(87.45% 0.158 131.8)
XYZxyz(50.8380, 69.9098, 28.9009)
Luminance0.6991 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB79 #B579EB
analogous
#E8EB79 #AFEB79 #79EB7C
triadic
#AFEB79 #79AFEB #EB79AF
tetradic
#AFEB79 #79E8EB #B579EB #EB7C79
square
#AFEB79 #79E8EB #B579EB #EB7C79
split-complementary
#AFEB79 #7C79EB #EB79E8
monochromatic
#70CB1E #8FE344 #AFEB79 #CFF3AE #EFFBE4

Accessibility & contrast

On white

1.40
#AFEB79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.98
#AFEB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB79
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB79#FFFFFF#000000##000000
##AFEB791.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DD6F
Deuteranopia (green-blind)
#EBD880
Tritanopia (blue-blind)
#B1E3D1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afeb79;
/* rgb */ color: rgb(175, 235, 121);
/* oklch */ color: oklch(87.4% 0.158 131.8);
Tailwind
colors: {
  custom: {
    50: '#c9f1a2',
    500: '#afeb79',
    950: '#000000',
  },
}
SCSS
$custom: #afeb79;
$custom-light: #c9f1a2;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb79",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 121
  },
  "hsl": {
    "h": 91.579,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.87445,
    "c": 0.15753,
    "h": 131.8
  },
  "luminance": 0.69911
}

Semantic roles & 50–950 ramp

primary
#AFEB79
secondary
#8744C4
accent
#0FD678
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEB79

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

Preview Lab → · Contrast checker → · Palette generator →

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