#AFD25D#AFD25D

#AFD25D is a light, vivid yellow-green. Relative luminance 0.560; OKLCH L 81.4% C 0.150 H 123.6°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#AFD25D
RGBrgb(175, 210, 93)
HSLhsl(78, 57%, 59%)
HSVhsv(78, 56%, 82%)
CMYKcmyk(16.7%, 0%, 55.7%, 17.6%)
CIE-LABlab(79.61, -29.17, 53.26)
CIE-LCHlch(79.61, 60.73, 118.71°)
OKLaboklab(81.42% -0.0828 0.1246)
OKLCHoklch(81.42% 0.15 123.6)
XYZxyz(42.7018, 55.9972, 18.9127)
Luminance0.5600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD25D #805DD2
analogous
#D2BB5D #AFD25D #75D25D
triadic
#AFD25D #5DAFD2 #D25DAF
tetradic
#AFD25D #5DD2BB #805DD2 #D25D75
square
#AFD25D #5DD2BB #805DD2 #D25D75
split-complementary
#AFD25D #5D75D2 #BB5DD2
monochromatic
#6F8D27 #94BD35 #AFD25D #C7DF8D #DEEDBD

Accessibility & contrast

On white

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

On black

12.20
#AFD25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD25D
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD25D#FFFFFF#000000##000000
##AFD25D1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC651
Deuteranopia (green-blind)
#D8C564
Tritanopia (blue-blind)
#B6C9B8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd25d;
/* rgb */ color: rgb(175, 210, 93);
/* oklch */ color: oklch(81.4% 0.150 123.6);
Tailwind
colors: {
  custom: {
    50: '#c9e08e',
    500: '#afd25d',
    950: '#000000',
  },
}
SCSS
$custom: #afd25d;
$custom-light: #c9e08e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd25d",
  "rgb": {
    "r": 175,
    "g": 210,
    "b": 93
  },
  "hsl": {
    "h": 77.949,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81419,
    "c": 0.14963,
    "h": 123.6
  },
  "luminance": 0.55997
}

Semantic roles & 50–950 ramp

primary
#AFD25D
secondary
#594093
accent
#48E075
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD25D

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

Preview Lab → · Contrast checker → · Palette generator →

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