#AFD03E#AFD03E

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

Color values

HEX#AFD03E
RGBrgb(175, 208, 62)
HSLhsl(74, 61%, 53%)
HSVhsv(74, 70%, 82%)
CMYKcmyk(15.9%, 0%, 70.2%, 18.4%)
CIE-LABlab(78.80, -30.48, 65.15)
CIE-LCHlch(78.80, 71.93, 115.08°)
OKLaboklab(80.68% -0.0893 0.1458)
OKLCHoklch(80.68% 0.171 121.5)
XYZxyz(41.1052, 54.5735, 12.9247)
Luminance0.5457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD03E #5F3ED0
analogous
#D0A83E #AFD03E #66D03E
triadic
#AFD03E #3EAFD0 #D03EAF
tetradic
#AFD03E #3ED0A8 #5F3ED0 #D03E66
square
#AFD03E #3ED0A8 #5F3ED0 #D03E66
split-complementary
#AFD03E #3E66D0 #A83ED0
monochromatic
#62771D #8BA829 #AFD03E #C3DC6F #D8E8A0

Accessibility & contrast

On white

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

On black

11.91
#AFD03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD03E
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD03E#FFFFFF#000000##000000
##AFD03E1.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC425
Deuteranopia (green-blind)
#D8C34A
Tritanopia (blue-blind)
#B8C5B3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afd03e;
/* rgb */ color: rgb(175, 208, 62);
/* oklch */ color: oklch(80.7% 0.171 121.5);
Tailwind
colors: {
  custom: {
    50: '#cade7c',
    500: '#afd03e',
    950: '#000000',
  },
}
SCSS
$custom: #afd03e;
$custom-light: #cade7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd03e",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 62
  },
  "hsl": {
    "h": 73.562,
    "s": 60.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80679,
    "c": 0.17097,
    "h": 121.5
  },
  "luminance": 0.54574
}

Semantic roles & 50–950 ramp

primary
#AFD03E
secondary
#44337F
accent
#44E468
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD03E

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

Preview Lab → · Contrast checker → · Palette generator →

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