#AFEB7C#AFEB7C

#AFEB7C is a very light, vivid yellow-green. Relative luminance 0.700; OKLCH L 87.5% C 0.155 H 132.2°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#AFEB7C
RGBrgb(175, 235, 124)
HSLhsl(92, 74%, 70%)
HSVhsv(92, 47%, 92%)
CMYKcmyk(25.5%, 0%, 47.2%, 7.8%)
CIE-LABlab(86.99, -37.55, 47.59)
CIE-LCHlch(86.99, 60.62, 128.28°)
OKLaboklab(87.49% -0.1038 0.1146)
OKLCHoklch(87.49% 0.155 132.2)
XYZxyz(51.0248, 69.9845, 29.8849)
Luminance0.6999 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEB7C #B87CEB
analogous
#E7EB7C #AFEB7C #7CEB80
triadic
#AFEB7C #7CAFEB #EB7CAF
tetradic
#AFEB7C #7CE7EB #B87CEB #EB807C
square
#AFEB7C #7CE7EB #B87CEB #EB807C
split-complementary
#AFEB7C #807CEB #EB7CE7
monochromatic
#6FCD1F #8FE347 #AFEB7C #CFF3B1 #EFFBE4

Accessibility & contrast

On white

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

On black

15.00
#AFEB7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEB7C
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEB7C#FFFFFF#000000##000000
##AFEB7C1.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afeb7c;
/* rgb */ color: rgb(175, 235, 124);
/* oklch */ color: oklch(87.5% 0.155 132.2);
Tailwind
colors: {
  custom: {
    50: '#c9f1a4',
    500: '#afeb7c',
    950: '#000000',
  },
}
SCSS
$custom: #afeb7c;
$custom-light: #c9f1a4;
$custom-dark: #000000;
JSON
{
  "hex": "#afeb7c",
  "rgb": {
    "r": 175,
    "g": 235,
    "b": 124
  },
  "hsl": {
    "h": 92.432,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87486,
    "c": 0.15463,
    "h": 132.2
  },
  "luminance": 0.69986
}

Semantic roles & 50–950 ramp

primary
#AFEB7C
secondary
#8B47C4
accent
#10D67B
background
#FEFFFC
surface
#FAFEF6
border
#D3D6D0
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEB7C

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

Preview Lab → · Contrast checker → · Palette generator →

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