#AFEF74#AFEF74

#AFEF74 is a very light, vivid yellow-green. Relative luminance 0.721; OKLCH L 88.3% C 0.168 H 131.7°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#AFEF74
RGBrgb(175, 239, 116)
HSLhsl(91, 79%, 70%)
HSVhsv(91, 51%, 94%)
CMYKcmyk(26.8%, 0%, 51.5%, 6.3%)
CIE-LABlab(88.02, -40.22, 52.60)
CIE-LCHlch(88.02, 66.21, 127.40°)
OKLaboklab(88.29% -0.1117 0.1252)
OKLCHoklch(88.29% 0.168 131.7)
XYZxyz(51.6973, 72.1065, 27.7138)
Luminance0.7211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEF74 #B474EF
analogous
#ECEF74 #AFEF74 #74EF77
triadic
#AFEF74 #74AFEF #EF74AF
tetradic
#AFEF74 #74ECEF #B474EF #EF7774
square
#AFEF74 #74ECEF #B474EF #EF7774
split-complementary
#AFEF74 #7774EF #EF74EC
monochromatic
#71D118 #8FE93D #AFEF74 #CFF5AB #EEFCE2

Accessibility & contrast

On white

1.36
#AFEF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.42
#AFEF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEF74
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEF74#FFFFFF#000000##000000
##AFEF741.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E069
Deuteranopia (green-blind)
#EFDB7C
Tritanopia (blue-blind)
#B1E7D3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #afef74;
/* rgb */ color: rgb(175, 239, 116);
/* oklch */ color: oklch(88.3% 0.168 131.7);
Tailwind
colors: {
  custom: {
    50: '#caf49f',
    500: '#afef74',
    950: '#000000',
  },
}
SCSS
$custom: #afef74;
$custom-light: #caf49f;
$custom-dark: #000000;
JSON
{
  "hex": "#afef74",
  "rgb": {
    "r": 175,
    "g": 239,
    "b": 116
  },
  "hsl": {
    "h": 91.22,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.8829,
    "c": 0.16775,
    "h": 131.7
  },
  "luminance": 0.72108
}

Semantic roles & 50–950 ramp

primary
#AFEF74
secondary
#863FC8
accent
#0ADC77
background
#FEFFFC
surface
#FBFEF5
border
#D4D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEF74

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

Preview Lab → · Contrast checker → · Palette generator →

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