#AFE078#AFE078

#AFE078 is a very light, vivid yellow-green. Relative luminance 0.638; OKLCH L 84.9% C 0.143 H 129.7°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#AFE078
RGBrgb(175, 224, 120)
HSLhsl(88, 63%, 67%)
HSVhsv(88, 46%, 88%)
CMYKcmyk(21.9%, 0%, 46.4%, 12.2%)
CIE-LABlab(83.85, -32.98, 45.64)
CIE-LCHlch(83.85, 56.31, 125.86°)
OKLaboklab(84.94% -0.0913 0.11)
OKLCHoklch(84.94% 0.143 129.7)
XYZxyz(47.7245, 63.7804, 27.5621)
Luminance0.6378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE078 #A978E0
analogous
#E0DD78 #AFE078 #7BE078
triadic
#AFE078 #78AFE0 #E078AF
tetradic
#AFE078 #78E0DD #A978E0 #E0787B
square
#AFE078 #78E0DD #A978E0 #E0787B
split-complementary
#AFE078 #787BE0 #DD78E0
monochromatic
#73B429 #92D546 #AFE078 #CCEBAA #EAF7DC

Accessibility & contrast

On white

1.53
#AFE078 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#AFE078 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE078
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE078#FFFFFF#000000##000000
##AFE0781.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D36F
Deuteranopia (green-blind)
#E1D07E
Tritanopia (blue-blind)
#B2D8C8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #afe078;
/* rgb */ color: rgb(175, 224, 120);
/* oklch */ color: oklch(84.9% 0.143 129.7);
Tailwind
colors: {
  custom: {
    50: '#c9eaa1',
    500: '#afe078',
    950: '#000000',
  },
}
SCSS
$custom: #afe078;
$custom-light: #c9eaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#afe078",
  "rgb": {
    "r": 175,
    "g": 224,
    "b": 120
  },
  "hsl": {
    "h": 88.269,
    "s": 62.651,
    "l": 67.451
  },
  "oklch": {
    "l": 0.84936,
    "c": 0.143,
    "h": 129.7
  },
  "luminance": 0.63781
}

Semantic roles & 50–950 ramp

primary
#AFE078
secondary
#7B47B5
accent
#1BCA6E
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE078

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

Preview Lab → · Contrast checker → · Palette generator →

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