#AFD33B#AFD33B

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

Color values

HEX#AFD33B
RGBrgb(175, 211, 59)
HSLhsl(74, 63%, 53%)
HSVhsv(74, 72%, 83%)
CMYKcmyk(17.1%, 0%, 72%, 17.3%)
CIE-LABlab(79.62, -32.05, 67.02)
CIE-LCHlch(79.62, 74.29, 115.56°)
OKLaboklab(81.34% -0.0939 0.1493)
OKLCHoklch(81.34% 0.176 122.2)
XYZxyz(41.7635, 56.0182, 12.7492)
Luminance0.5602 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD33B #5F3BD3
analogous
#D3AB3B #AFD33B #63D33B
triadic
#AFD33B #3BAFD3 #D33BAF
tetradic
#AFD33B #3BD3AB #5F3BD3 #D33B63
square
#AFD33B #3BD3AB #5F3BD3 #D33B63
split-complementary
#AFD33B #3B63D3 #AB3BD3
monochromatic
#62791B #8BAB26 #AFD33B #C3DE6D #D8E99F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD33B#FFFFFF#000000##000000
##AFD33B1.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)
#E0C61E
Deuteranopia (green-blind)
#DBC548
Tritanopia (blue-blind)
#B8C8B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd33b;
/* rgb */ color: rgb(175, 211, 59);
/* oklch */ color: oklch(81.3% 0.176 122.2);
Tailwind
colors: {
  custom: {
    50: '#cbe07b',
    500: '#afd33b',
    950: '#000000',
  },
}
SCSS
$custom: #afd33b;
$custom-light: #cbe07b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd33b",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 59
  },
  "hsl": {
    "h": 74.211,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.81342,
    "c": 0.17633,
    "h": 122.2
  },
  "luminance": 0.56018
}

Semantic roles & 50–950 ramp

primary
#AFD33B
secondary
#443281
accent
#41E668
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD33B

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

Preview Lab → · Contrast checker → · Palette generator →

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