#AFD33E#AFD33E

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

Color values

HEX#AFD33E
RGBrgb(175, 211, 62)
HSLhsl(74, 63%, 54%)
HSVhsv(74, 71%, 83%)
CMYKcmyk(17.1%, 0%, 70.6%, 17.3%)
CIE-LABlab(79.64, -31.89, 65.99)
CIE-LCHlch(79.64, 73.29, 115.79°)
OKLaboklab(81.36% -0.0932 0.1475)
OKLCHoklch(81.36% 0.175 122.3)
XYZxyz(41.8435, 56.0502, 13.1708)
Luminance0.5605 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD33E #623ED3
analogous
#D3AD3E #AFD33E #64D33E
triadic
#AFD33E #3EAFD3 #D33EAF
tetradic
#AFD33E #3ED3AD #623ED3 #D33E64
square
#AFD33E #3ED3AD #623ED3 #D33E64
split-complementary
#AFD33E #3E64D3 #AD3ED3
monochromatic
#647B1C #8CAC27 #AFD33E #C4DE70 #D8EAA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD33E#FFFFFF#000000##000000
##AFD33E1.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)
#DFC624
Deuteranopia (green-blind)
#DBC54B
Tritanopia (blue-blind)
#B8C8B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd33e;
/* rgb */ color: rgb(175, 211, 62);
/* oklch */ color: oklch(81.4% 0.175 122.3);
Tailwind
colors: {
  custom: {
    50: '#cae07d',
    500: '#afd33e',
    950: '#000000',
  },
}
SCSS
$custom: #afd33e;
$custom-light: #cae07d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd33e",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 62
  },
  "hsl": {
    "h": 74.497,
    "s": 62.869,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81362,
    "c": 0.17451,
    "h": 122.3
  },
  "luminance": 0.5605
}

Semantic roles & 50–950 ramp

primary
#AFD33E
secondary
#463382
accent
#42E66A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD33E

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

Preview Lab → · Contrast checker → · Palette generator →

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