#AFD05E#AFD05E

#AFD05E is a light, vivid yellow-green. Relative luminance 0.550; OKLCH L 81.0% C 0.146 H 123.1°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#AFD05E
RGBrgb(175, 208, 94)
HSLhsl(77, 55%, 59%)
HSVhsv(77, 55%, 82%)
CMYKcmyk(15.9%, 0%, 54.8%, 18.4%)
CIE-LABlab(79.06, -28.14, 52.17)
CIE-LCHlch(79.06, 59.27, 118.34°)
OKLaboklab(80.98% -0.0798 0.1224)
OKLCHoklch(80.98% 0.146 123.1)
XYZxyz(42.2557, 55.0337, 18.9839)
Luminance0.5503 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD05E #7F5ED0
analogous
#D0B85E #AFD05E #76D05E
triadic
#AFD05E #5EAFD0 #D05EAF
tetradic
#AFD05E #5ED0B8 #7F5ED0 #D05E76
square
#AFD05E #5ED0B8 #7F5ED0 #D05E76
split-complementary
#AFD05E #5E76D0 #B85ED0
monochromatic
#6F8B29 #94BA36 #AFD05E #C7DE8D #DEECBD

Accessibility & contrast

On white

1.75
#AFD05E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#AFD05E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD05E
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD05E#FFFFFF#000000##000000
##AFD05E1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC553
Deuteranopia (green-blind)
#D6C465
Tritanopia (blue-blind)
#B6C7B7
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afd05e;
/* rgb */ color: rgb(175, 208, 94);
/* oklch */ color: oklch(81.0% 0.146 123.1);
Tailwind
colors: {
  custom: {
    50: '#c9de8f',
    500: '#afd05e',
    950: '#000000',
  },
}
SCSS
$custom: #afd05e;
$custom-light: #c9de8f;
$custom-dark: #000000;
JSON
{
  "hex": "#afd05e",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 94
  },
  "hsl": {
    "h": 77.368,
    "s": 54.808,
    "l": 59.216
  },
  "oklch": {
    "l": 0.80978,
    "c": 0.1461,
    "h": 123.1
  },
  "luminance": 0.55034
}

Semantic roles & 50–950 ramp

primary
#AFD05E
secondary
#584191
accent
#4ADE75
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD05E

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

Preview Lab → · Contrast checker → · Palette generator →

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