#AFD333#AFD333

#AFD333 is a light, vivid yellow-green. Relative luminance 0.559; OKLCH L 81.3% C 0.181 H 121.9°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#AFD333
RGBrgb(175, 211, 51)
HSLhsl(74, 65%, 51%)
HSVhsv(74, 76%, 83%)
CMYKcmyk(17.1%, 0%, 75.8%, 17.3%)
CIE-LABlab(79.58, -32.45, 69.60)
CIE-LCHlch(79.58, 76.80, 114.99°)
OKLaboklab(81.29% -0.0956 0.1534)
OKLCHoklch(81.29% 0.181 121.9)
XYZxyz(41.5717, 55.9414, 11.7390)
Luminance0.5594 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD333 #5733D3
analogous
#D3A733 #AFD333 #5FD333
triadic
#AFD333 #33AFD3 #D333AF
tetradic
#AFD333 #33D3A7 #5733D3 #D3335F
square
#AFD333 #33D3A7 #5733D3 #D3335F
split-complementary
#AFD333 #335FD3 #A733D3
monochromatic
#5F7319 #88A524 #AFD333 #C3DE65 #D6E998

Accessibility & contrast

On white

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

On black

12.19
#AFD333 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD333
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD333#FFFFFF#000000##000000
##AFD3331.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C606
Deuteranopia (green-blind)
#DBC542
Tritanopia (blue-blind)
#B9C8B5
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd333;
/* rgb */ color: rgb(175, 211, 51);
/* oklch */ color: oklch(81.3% 0.181 121.9);
Tailwind
colors: {
  custom: {
    50: '#cbe077',
    500: '#afd333',
    950: '#000000',
  },
}
SCSS
$custom: #afd333;
$custom-light: #cbe077;
$custom-dark: #000000;
JSON
{
  "hex": "#afd333",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 51
  },
  "hsl": {
    "h": 73.5,
    "s": 64.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.81293,
    "c": 0.18076,
    "h": 121.9
  },
  "luminance": 0.55942
}

Semantic roles & 50–950 ramp

primary
#AFD333
secondary
#402F7C
accent
#40E866
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD333

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

Preview Lab → · Contrast checker → · Palette generator →

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