#AFE679#AFE679

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

Color values

HEX#AFE679
RGBrgb(175, 230, 121)
HSLhsl(90, 69%, 69%)
HSVhsv(90, 47%, 90%)
CMYKcmyk(23.9%, 0%, 47.4%, 9.8%)
CIE-LABlab(85.55, -35.63, 47.25)
CIE-LCHlch(85.55, 59.18, 127.02°)
OKLaboklab(86.31% -0.0986 0.1137)
OKLCHoklch(86.31% 0.151 130.9)
XYZxyz(49.4265, 67.0869, 28.4304)
Luminance0.6709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE679 #B079E6
analogous
#E6E679 #AFE679 #79E67A
triadic
#AFE679 #79AFE6 #E679AF
tetradic
#AFE679 #79E6E6 #B079E6 #E67A79
square
#AFE679 #79E6E6 #B079E6 #E67A79
split-complementary
#AFE679 #7A79E6 #E679E6
monochromatic
#72C124 #90DC45 #AFE679 #CEF0AD #EDF9E0

Accessibility & contrast

On white

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

On black

14.42
#AFE679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE679
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE679#FFFFFF#000000##000000
##AFE6791.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED870
Deuteranopia (green-blind)
#E6D480
Tritanopia (blue-blind)
#B2DECD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe679;
/* rgb */ color: rgb(175, 230, 121);
/* oklch */ color: oklch(86.3% 0.150 130.9);
Tailwind
colors: {
  custom: {
    50: '#c9eea2',
    500: '#afe679',
    950: '#000000',
  },
}
SCSS
$custom: #afe679;
$custom-light: #c9eea2;
$custom-dark: #000000;
JSON
{
  "hex": "#afe679",
  "rgb": {
    "r": 175,
    "g": 230,
    "b": 121
  },
  "hsl": {
    "h": 90.275,
    "s": 68.553,
    "l": 68.824
  },
  "oklch": {
    "l": 0.86309,
    "c": 0.1505,
    "h": 130.9
  },
  "luminance": 0.67088
}

Semantic roles & 50–950 ramp

primary
#AFE679
secondary
#8245BE
accent
#15D074
background
#FEFFFC
surface
#FAFEF5
border
#D3D6CF
text
#13160F
muted
#838580

Preview Lab

Preview with #AFE679

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

Preview Lab → · Contrast checker → · Palette generator →

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