#AFD041#AFD041

#AFD041 is a light, vivid yellow-green. Relative luminance 0.546; OKLCH L 80.7% C 0.169 H 121.6°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#AFD041
RGBrgb(175, 208, 65)
HSLhsl(74, 60%, 54%)
HSVhsv(74, 69%, 82%)
CMYKcmyk(15.9%, 0%, 68.8%, 18.4%)
CIE-LABlab(78.81, -30.31, 64.06)
CIE-LCHlch(78.81, 70.87, 115.32°)
OKLaboklab(80.7% -0.0886 0.144)
OKLCHoklch(80.7% 0.169 121.6)
XYZxyz(41.1898, 54.6073, 13.3703)
Luminance0.5461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD041 #6241D0
analogous
#D0A941 #AFD041 #67D041
triadic
#AFD041 #41AFD0 #D041AF
tetradic
#AFD041 #41D0A9 #6241D0 #D04167
square
#AFD041 #41D0A9 #6241D0 #D04167
split-complementary
#AFD041 #4167D0 #A941D0
monochromatic
#64791E #8CAA2A #AFD041 #C4DC72 #D8E8A3

Accessibility & contrast

On white

1.76
#AFD041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#AFD041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD041
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD041#FFFFFF#000000##000000
##AFD0411.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC42A
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#B8C5B4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afd041;
/* rgb */ color: rgb(175, 208, 65);
/* oklch */ color: oklch(80.7% 0.169 121.6);
Tailwind
colors: {
  custom: {
    50: '#cade7e',
    500: '#afd041',
    950: '#000000',
  },
}
SCSS
$custom: #afd041;
$custom-light: #cade7e;
$custom-dark: #000000;
JSON
{
  "hex": "#afd041",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 65
  },
  "hsl": {
    "h": 73.846,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.80701,
    "c": 0.16903,
    "h": 121.6
  },
  "luminance": 0.54607
}

Semantic roles & 50–950 ramp

primary
#AFD041
secondary
#463481
accent
#44E369
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD041

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

Preview Lab → · Contrast checker → · Palette generator →

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