#AFD33D#AFD33D

#AFD33D is a light, vivid yellow-green. Relative luminance 0.560; OKLCH L 81.4% C 0.175 H 122.2°. Best body text is #000000 at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#AFD33D
RGBrgb(175, 211, 61)
HSLhsl(74, 63%, 53%)
HSVhsv(74, 71%, 83%)
CMYKcmyk(17.1%, 0%, 71.1%, 17.3%)
CIE-LABlab(79.64, -31.94, 66.34)
CIE-LCHlch(79.64, 73.63, 115.71°)
OKLaboklab(81.36% -0.0934 0.1481)
OKLCHoklch(81.36% 0.175 122.2)
XYZxyz(41.8163, 56.0393, 13.0277)
Luminance0.5604 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD33D #613DD3
analogous
#D3AC3D #AFD33D #64D33D
triadic
#AFD33D #3DAFD3 #D33DAF
tetradic
#AFD33D #3DD3AC #613DD3 #D33D64
square
#AFD33D #3DD3AC #613DD3 #D33D64
split-complementary
#AFD33D #3D64D3 #AC3DD3
monochromatic
#637A1C #8CAC27 #AFD33D #C4DE6F #D8EAA1

Accessibility & contrast

On white

1.72
#AFD33D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.21
#AFD33D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD33D
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD33D#FFFFFF#000000##000000
##AFD33D1.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC622
Deuteranopia (green-blind)
#DBC54A
Tritanopia (blue-blind)
#B8C8B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd33d;
/* rgb */ color: rgb(175, 211, 61);
/* oklch */ color: oklch(81.4% 0.175 122.2);
Tailwind
colors: {
  custom: {
    50: '#cae07c',
    500: '#afd33d',
    950: '#000000',
  },
}
SCSS
$custom: #afd33d;
$custom-light: #cae07c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd33d",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 61
  },
  "hsl": {
    "h": 74.4,
    "s": 63.025,
    "l": 53.333
  },
  "oklch": {
    "l": 0.81355,
    "c": 0.17513,
    "h": 122.2
  },
  "luminance": 0.56039
}

Semantic roles & 50–950 ramp

primary
#AFD33D
secondary
#453282
accent
#42E669
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD33D

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

Preview Lab → · Contrast checker → · Palette generator →

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