#AFE374#AFE374

#AFE374 is a very light, vivid yellow-green. Relative luminance 0.653; OKLCH L 85.6% C 0.151 H 129.8°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#AFE374
RGBrgb(175, 227, 116)
HSLhsl(88, 66%, 67%)
HSVhsv(88, 49%, 89%)
CMYKcmyk(22.9%, 0%, 48.9%, 11%)
CIE-LABlab(84.64, -34.81, 48.53)
CIE-LCHlch(84.64, 59.72, 125.65°)
OKLaboklab(85.56% -0.0967 0.1162)
OKLCHoklch(85.56% 0.151 129.8)
XYZxyz(48.3002, 65.3121, 26.5814)
Luminance0.6531 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE374 #A874E3
analogous
#E3DF74 #AFE374 #78E374
triadic
#AFE374 #74AFE3 #E374AF
tetradic
#AFE374 #74E3DF #A874E3 #E37478
square
#AFE374 #74E3DF #A874E3 #E37478
split-complementary
#AFE374 #7478E3 #DF74E3
monochromatic
#73B825 #92D941 #AFE374 #CCEDA7 #EAF8DA

Accessibility & contrast

On white

1.49
#AFE374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#AFE374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE374
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE374#FFFFFF#000000##000000
##AFE3741.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66A
Deuteranopia (green-blind)
#E4D27B
Tritanopia (blue-blind)
#B3DBC9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe374;
/* rgb */ color: rgb(175, 227, 116);
/* oklch */ color: oklch(85.6% 0.151 129.8);
Tailwind
colors: {
  custom: {
    50: '#c9ec9e',
    500: '#afe374',
    950: '#000000',
  },
}
SCSS
$custom: #afe374;
$custom-light: #c9ec9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe374",
  "rgb": {
    "r": 175,
    "g": 227,
    "b": 116
  },
  "hsl": {
    "h": 88.108,
    "s": 66.467,
    "l": 67.255
  },
  "oklch": {
    "l": 0.8556,
    "c": 0.15117,
    "h": 129.8
  },
  "luminance": 0.65313
}

Semantic roles & 50–950 ramp

primary
#AFE374
secondary
#7A43B8
accent
#17CE6D
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE374

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

Preview Lab → · Contrast checker → · Palette generator →

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