#AFD33F#AFD33F

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

Color values

HEX#AFD33F
RGBrgb(175, 211, 63)
HSLhsl(75, 63%, 54%)
HSVhsv(75, 70%, 83%)
CMYKcmyk(17.1%, 0%, 70.1%, 17.3%)
CIE-LABlab(79.65, -31.83, 65.64)
CIE-LCHlch(79.65, 72.95, 115.87°)
OKLaboklab(81.37% -0.0929 0.147)
OKLCHoklch(81.37% 0.174 122.3)
XYZxyz(41.8712, 56.0613, 13.3167)
Luminance0.5606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD33F #633FD3
analogous
#D3AD3F #AFD33F #65D33F
triadic
#AFD33F #3FAFD3 #D33FAF
tetradic
#AFD33F #3FD3AD #633FD3 #D33F65
square
#AFD33F #3FD3AD #633FD3 #D33F65
split-complementary
#AFD33F #3F65D3 #AD3FD3
monochromatic
#647B1C #8DAD28 #AFD33F #C4DE71 #D8EAA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #afd33f;
/* rgb */ color: rgb(175, 211, 63);
/* oklch */ color: oklch(81.4% 0.174 122.3);
Tailwind
colors: {
  custom: {
    50: '#cae07d',
    500: '#afd33f',
    950: '#000000',
  },
}
SCSS
$custom: #afd33f;
$custom-light: #cae07d;
$custom-dark: #000000;
JSON
{
  "hex": "#afd33f",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 63
  },
  "hsl": {
    "h": 74.595,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81369,
    "c": 0.17389,
    "h": 122.3
  },
  "luminance": 0.56061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFD33F

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

Preview Lab → · Contrast checker → · Palette generator →

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