#AFD260#AFD260

#AFD260 is a light, vivid yellow-green. Relative luminance 0.561; OKLCH L 81.5% C 0.147 H 123.8°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#AFD260
RGBrgb(175, 210, 96)
HSLhsl(78, 56%, 60%)
HSVhsv(78, 54%, 82%)
CMYKcmyk(16.7%, 0%, 54.3%, 17.6%)
CIE-LABlab(79.64, -28.90, 51.92)
CIE-LCHlch(79.64, 59.43, 119.10°)
OKLaboklab(81.45% -0.0818 0.122)
OKLCHoklch(81.45% 0.147 123.8)
XYZxyz(42.8373, 56.0514, 19.6263)
Luminance0.5605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD260 #8360D2
analogous
#D2BC60 #AFD260 #76D260
triadic
#AFD260 #60AFD2 #D260AF
tetradic
#AFD260 #60D2BC #8360D2 #D26076
square
#AFD260 #60D2BC #8360D2 #D26076
split-complementary
#AFD260 #6076D2 #BC60D2
monochromatic
#708F29 #95BF36 #AFD260 #C7DF90 #DFEDBF

Accessibility & contrast

On white

1.72
#AFD260 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#AFD260 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD260
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD260#FFFFFF#000000##000000
##AFD2601.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC655
Deuteranopia (green-blind)
#D8C567
Tritanopia (blue-blind)
#B6C9B9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd260;
/* rgb */ color: rgb(175, 210, 96);
/* oklch */ color: oklch(81.5% 0.147 123.8);
Tailwind
colors: {
  custom: {
    50: '#c9e090',
    500: '#afd260',
    950: '#000000',
  },
}
SCSS
$custom: #afd260;
$custom-light: #c9e090;
$custom-dark: #000000;
JSON
{
  "hex": "#afd260",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 96
  },
  "hsl": {
    "h": 78.421,
    "s": 55.882,
    "l": 60
  },
  "oklch": {
    "l": 0.81454,
    "c": 0.14691,
    "h": 123.8
  },
  "luminance": 0.56052
}

Semantic roles & 50–950 ramp

primary
#AFD260
secondary
#5B4195
accent
#49DF77
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD260

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

Preview Lab → · Contrast checker → · Palette generator →

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