#AFE678#AFE678

#AFE678 is a very light, vivid yellow-green. Relative luminance 0.671; OKLCH L 86.3% C 0.151 H 130.8°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#AFE678
RGBrgb(175, 230, 120)
HSLhsl(90, 69%, 69%)
HSVhsv(90, 48%, 90%)
CMYKcmyk(23.9%, 0%, 47.8%, 9.8%)
CIE-LABlab(85.54, -35.74, 47.71)
CIE-LCHlch(85.54, 59.61, 126.84°)
OKLaboklab(86.3% -0.099 0.1147)
OKLCHoklch(86.3% 0.151 130.8)
XYZxyz(49.3655, 67.0625, 28.1091)
Luminance0.6706 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE678 #AF78E6
analogous
#E6E678 #AFE678 #78E678
triadic
#AFE678 #78AFE6 #E678AF
tetradic
#AFE678 #78E6E6 #AF78E6 #E67878
square
#AFE678 #78E6E6 #AF78E6 #E67878
split-complementary
#AFE678 #7878E6 #E678E6
monochromatic
#72C024 #90DC44 #AFE678 #CEF0AC #ECF9DF

Accessibility & contrast

On white

1.46
#AFE678 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#AFE678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE678
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE678#FFFFFF#000000##000000
##AFE6781.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD86F
Deuteranopia (green-blind)
#E7D47F
Tritanopia (blue-blind)
#B2DECC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe678;
/* rgb */ color: rgb(175, 230, 120);
/* oklch */ color: oklch(86.3% 0.151 130.8);
Tailwind
colors: {
  custom: {
    50: '#c9eea1',
    500: '#afe678',
    950: '#000000',
  },
}
SCSS
$custom: #afe678;
$custom-light: #c9eea1;
$custom-dark: #000000;
JSON
{
  "hex": "#afe678",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 120
  },
  "hsl": {
    "h": 90,
    "s": 68.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86295,
    "c": 0.15148,
    "h": 130.8
  },
  "luminance": 0.67064
}

Semantic roles & 50–950 ramp

primary
#AFE678
secondary
#8145BE
accent
#15D173
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE678

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

Preview Lab → · Contrast checker → · Palette generator →

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