#AFD33A#AFD33A

#AFD33A is a light, vivid yellow-green. Relative luminance 0.560; OKLCH L 81.3% C 0.177 H 122.1°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#AFD33A
RGBrgb(175, 211, 58)
HSLhsl(74, 63%, 53%)
HSVhsv(74, 73%, 83%)
CMYKcmyk(17.1%, 0%, 72.5%, 17.3%)
CIE-LABlab(79.62, -32.10, 67.36)
CIE-LCHlch(79.62, 74.62, 115.48°)
OKLaboklab(81.34% -0.0941 0.1498)
OKLCHoklch(81.34% 0.177 122.1)
XYZxyz(41.7378, 56.0079, 12.6139)
Luminance0.5601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD33A #5E3AD3
analogous
#D3AB3A #AFD33A #62D33A
triadic
#AFD33A #3AAFD3 #D33AAF
tetradic
#AFD33A #3AD3AB #5E3AD3 #D33A62
square
#AFD33A #3AD3AB #5E3AD3 #D33A62
split-complementary
#AFD33A #3A62D3 #AB3AD3
monochromatic
#62781B #8BAA26 #AFD33A #C3DE6C #D8E99E

Accessibility & contrast

On white

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

On black

12.20
#AFD33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD33A
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD33A#FFFFFF#000000##000000
##AFD33A1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afd33a;
/* rgb */ color: rgb(175, 211, 58);
/* oklch */ color: oklch(81.3% 0.177 122.1);
Tailwind
colors: {
  custom: {
    50: '#cbe07b',
    500: '#afd33a',
    950: '#000000',
  },
}
SCSS
$custom: #afd33a;
$custom-light: #cbe07b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd33a",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 58
  },
  "hsl": {
    "h": 74.118,
    "s": 63.485,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81335,
    "c": 0.17692,
    "h": 122.1
  },
  "luminance": 0.56008
}

Semantic roles & 50–950 ramp

primary
#AFD33A
secondary
#443180
accent
#41E768
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD33A

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

Preview Lab → · Contrast checker → · Palette generator →

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