#AFEC74#AFEC74

#AFEC74 is a very light, vivid yellow-green. Relative luminance 0.704; OKLCH L 87.6% C 0.164 H 131.3°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#AFEC74
RGBrgb(175, 236, 116)
HSLhsl(91, 76%, 69%)
HSVhsv(91, 51%, 93%)
CMYKcmyk(25.8%, 0%, 50.8%, 7.5%)
CIE-LABlab(87.18, -38.88, 51.58)
CIE-LCHlch(87.18, 64.60, 127.01°)
OKLaboklab(87.61% -0.108 0.1229)
OKLCHoklch(87.61% 0.164 131.3)
XYZxyz(50.8264, 70.3645, 27.4235)
Luminance0.7037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFEC74 #B174EC
analogous
#EBEC74 #AFEC74 #74EC75
triadic
#AFEC74 #74AFEC #EC74AF
tetradic
#AFEC74 #74EBEC #B174EC #EC7574
square
#AFEC74 #74EBEC #B174EC #EC7574
split-complementary
#AFEC74 #7574EC #EC74EB
monochromatic
#71CA1C #90E53E #AFEC74 #CEF3AA #EDFBE0

Accessibility & contrast

On white

1.39
#AFEC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.07
#AFEC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFEC74
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFEC74#FFFFFF#000000##000000
##AFEC741.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD69
Deuteranopia (green-blind)
#ECD97C
Tritanopia (blue-blind)
#B2E4D1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #afec74;
/* rgb */ color: rgb(175, 236, 116);
/* oklch */ color: oklch(87.6% 0.164 131.3);
Tailwind
colors: {
  custom: {
    50: '#c9f29f',
    500: '#afec74',
    950: '#000000',
  },
}
SCSS
$custom: #afec74;
$custom-light: #c9f29f;
$custom-dark: #000000;
JSON
{
  "hex": "#afec74",
  "rgb": {
    "r": 175,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 90.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87606,
    "c": 0.16363,
    "h": 131.3
  },
  "luminance": 0.70366
}

Semantic roles & 50–950 ramp

primary
#AFEC74
secondary
#8340C5
accent
#0DD874
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13170F
muted
#838580

Preview Lab

Preview with #AFEC74

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

Preview Lab → · Contrast checker → · Palette generator →

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