#AFD679#AFD679

#AFD679 is a very light, vivid yellow-green. Relative luminance 0.586; OKLCH L 82.7% C 0.128 H 127.6°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#AFD679
RGBrgb(175, 214, 121)
HSLhsl(85, 53%, 66%)
HSVhsv(85, 43%, 84%)
CMYKcmyk(18.2%, 0%, 43.5%, 16.1%)
CIE-LABlab(81.06, -28.17, 41.68)
CIE-LCHlch(81.06, 50.31, 124.06°)
OKLaboklab(82.7% -0.0778 0.1012)
OKLCHoklch(82.7% 0.128 127.6)
XYZxyz(45.1766, 58.5870, 27.0138)
Luminance0.5859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD679 #A079D6
analogous
#D6CE79 #AFD679 #80D679
triadic
#AFD679 #79AFD6 #D679AF
tetradic
#AFD679 #79D6CE #A079D6 #D67980
square
#AFD679 #79D6CE #A079D6 #D67980
split-complementary
#AFD679 #7980D6 #CE79D6
monochromatic
#73A332 #93C84A #AFD679 #CBE4A8 #E7F3D7

Accessibility & contrast

On white

1.65
#AFD679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#AFD679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD679
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD679#FFFFFF#000000##000000
##AFD6791.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB72
Deuteranopia (green-blind)
#D9C97E
Tritanopia (blue-blind)
#B3CEC0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd679;
/* rgb */ color: rgb(175, 214, 121);
/* oklch */ color: oklch(82.7% 0.128 127.6);
Tailwind
colors: {
  custom: {
    50: '#c8e2a1',
    500: '#afd679',
    950: '#000000',
  },
}
SCSS
$custom: #afd679;
$custom-light: #c8e2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#afd679",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 121
  },
  "hsl": {
    "h": 85.161,
    "s": 53.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.82695,
    "c": 0.12768,
    "h": 127.6
  },
  "luminance": 0.58588
}

Semantic roles & 50–950 ramp

primary
#AFD679
secondary
#724CA7
accent
#25C166
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD679

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

Preview Lab → · Contrast checker → · Palette generator →

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