#AFEC4B#AFEC4B

#AFEC4B is a very light, vivid yellow-green. Relative luminance 0.696; OKLCH L 87.2% C 0.196 H 128.0°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#AFEC4B
RGBrgb(175, 236, 75)
HSLhsl(83, 81%, 61%)
HSVhsv(83, 68%, 93%)
CMYKcmyk(25.8%, 0%, 68.2%, 7.5%)
CIE-LABlab(86.81, -42.36, 68.48)
CIE-LCHlch(86.81, 80.53, 121.74°)
OKLaboklab(87.19% -0.1209 0.1547)
OKLCHoklch(87.19% 0.196 128)
XYZxyz(48.9446, 69.6118, 17.5130)
Luminance0.6961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC4B #884BEC
analogous
#ECD94B #AFEC4B #5EEC4B
triadic
#AFEC4B #4BAFEC #EC4BAF
tetradic
#AFEC4B #4BECD9 #884BEC #EC4B5E
square
#AFEC4B #4BECD9 #884BEC #EC4B5E
split-complementary
#AFEC4B #4B5EEC #D94BEC
monochromatic
#71AB12 #95E218 #AFEC4B #C8F282 #E0F8BA

Accessibility & contrast

On white

1.41
#AFEC4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#AFEC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC4B
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC4B#FFFFFF#000000##000000
##AFEC4B1.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC32
Deuteranopia (green-blind)
#EFD859
Tritanopia (blue-blind)
#B5E2CC
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #afec4b;
/* rgb */ color: rgb(175, 236, 75);
/* oklch */ color: oklch(87.2% 0.196 128.0);
Tailwind
colors: {
  custom: {
    50: '#cbf286',
    500: '#afec4b',
    950: '#000000',
  },
}
SCSS
$custom: #afec4b;
$custom-light: #cbf286;
$custom-dark: #000000;
JSON
{
  "hex": "#afec4b",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 75
  },
  "hsl": {
    "h": 82.733,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87188,
    "c": 0.19631,
    "h": 128
  },
  "luminance": 0.69613
}

Semantic roles & 50–950 ramp

primary
#AFEC4B
secondary
#5F30AC
accent
#08DD59
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14170C
muted
#83857F

Preview Lab

Preview with #AFEC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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