#AFD678#AFD678

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

Color values

HEX#AFD678
RGBrgb(175, 214, 120)
HSLhsl(85, 53%, 65%)
HSVhsv(85, 44%, 84%)
CMYKcmyk(18.2%, 0%, 43.9%, 16.1%)
CIE-LABlab(81.05, -28.29, 42.16)
CIE-LCHlch(81.05, 50.77, 123.86°)
OKLaboklab(82.68% -0.0782 0.1022)
OKLCHoklch(82.68% 0.129 127.4)
XYZxyz(45.1156, 58.5626, 26.6925)
Luminance0.5856 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD678 #9F78D6
analogous
#D6CE78 #AFD678 #80D678
triadic
#AFD678 #78AFD6 #D678AF
tetradic
#AFD678 #78D6CE #9F78D6 #D67880
square
#AFD678 #78D6CE #9F78D6 #D67880
split-complementary
#AFD678 #7880D6 #CE78D6
monochromatic
#73A231 #93C849 #AFD678 #CBE4A7 #E7F3D6

Accessibility & contrast

On white

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

On black

12.71
#AFD678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD678
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD678#FFFFFF#000000##000000
##AFD6781.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCB70
Deuteranopia (green-blind)
#D9C97D
Tritanopia (blue-blind)
#B3CEBF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd678;
/* rgb */ color: rgb(175, 214, 120);
/* oklch */ color: oklch(82.7% 0.129 127.4);
Tailwind
colors: {
  custom: {
    50: '#c8e2a0',
    500: '#afd678',
    950: '#000000',
  },
}
SCSS
$custom: #afd678;
$custom-light: #c8e2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afd678",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 120
  },
  "hsl": {
    "h": 84.894,
    "s": 53.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.82679,
    "c": 0.12873,
    "h": 127.4
  },
  "luminance": 0.58563
}

Semantic roles & 50–950 ramp

primary
#AFD678
secondary
#714CA6
accent
#25C165
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFD678

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

Preview Lab → · Contrast checker → · Palette generator →

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