#AFD03B#AFD03B

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

Color values

HEX#AFD03B
RGBrgb(175, 208, 59)
HSLhsl(73, 61%, 52%)
HSVhsv(73, 72%, 82%)
CMYKcmyk(15.9%, 0%, 71.6%, 18.4%)
CIE-LABlab(78.78, -30.65, 66.20)
CIE-LCHlch(78.78, 72.95, 114.85°)
OKLaboklab(80.66% -0.09 0.1475)
OKLCHoklch(80.66% 0.173 121.4)
XYZxyz(41.0251, 54.5415, 12.5031)
Luminance0.5454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD03B #5C3BD0
analogous
#D0A73B #AFD03B #64D03B
triadic
#AFD03B #3BAFD0 #D03BAF
tetradic
#AFD03B #3BD0A7 #5C3BD0 #D03B64
square
#AFD03B #3BD0A7 #5C3BD0 #D03B64
split-complementary
#AFD03B #3B64D0 #A73BD0
monochromatic
#61751C #8AA628 #AFD03B #C3DC6C #D7E89E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD03B#FFFFFF#000000##000000
##AFD03B1.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)
#DDC41F
Deuteranopia (green-blind)
#D9C348
Tritanopia (blue-blind)
#B8C5B3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afd03b;
/* rgb */ color: rgb(175, 208, 59);
/* oklch */ color: oklch(80.7% 0.173 121.4);
Tailwind
colors: {
  custom: {
    50: '#cade7b',
    500: '#afd03b',
    950: '#000000',
  },
}
SCSS
$custom: #afd03b;
$custom-light: #cade7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd03b",
  "rgb": {
    "r": 175,
    "g": 208,
    "b": 59
  },
  "hsl": {
    "h": 73.289,
    "s": 61.317,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80658,
    "c": 0.17282,
    "h": 121.4
  },
  "luminance": 0.54541
}

Semantic roles & 50–950 ramp

primary
#AFD03B
secondary
#43327D
accent
#43E467
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD03B

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

Preview Lab → · Contrast checker → · Palette generator →

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