#AFD03F#AFD03F

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

Color values

HEX#AFD03F
RGBrgb(175, 208, 63)
HSLhsl(74, 61%, 53%)
HSVhsv(74, 70%, 82%)
CMYKcmyk(15.9%, 0%, 69.7%, 18.4%)
CIE-LABlab(78.80, -30.43, 64.79)
CIE-LCHlch(78.80, 71.58, 115.16°)
OKLaboklab(80.69% -0.0891 0.1452)
OKLCHoklch(80.69% 0.17 121.5)
XYZxyz(41.1329, 54.5846, 13.0706)
Luminance0.5458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD03F #603FD0
analogous
#D0A83F #AFD03F #66D03F
triadic
#AFD03F #3FAFD0 #D03FAF
tetradic
#AFD03F #3FD0A8 #603FD0 #D03F66
square
#AFD03F #3FD0A8 #603FD0 #D03F66
split-complementary
#AFD03F #3F66D0 #A83FD0
monochromatic
#63771D #8CA929 #AFD03F #C3DC70 #D8E8A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD03F#FFFFFF#000000##000000
##AFD03F1.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)
#DCC427
Deuteranopia (green-blind)
#D8C34B
Tritanopia (blue-blind)
#B8C5B3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afd03f;
/* rgb */ color: rgb(175, 208, 63);
/* oklch */ color: oklch(80.7% 0.170 121.5);
Tailwind
colors: {
  custom: {
    50: '#cade7d',
    500: '#afd03f',
    950: '#000000',
  },
}
SCSS
$custom: #afd03f;
$custom-light: #cade7d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd03f",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 63
  },
  "hsl": {
    "h": 73.655,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.80686,
    "c": 0.17033,
    "h": 121.5
  },
  "luminance": 0.54585
}

Semantic roles & 50–950 ramp

primary
#AFD03F
secondary
#453480
accent
#44E468
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD03F

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

Preview Lab → · Contrast checker → · Palette generator →

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