#AFD33C#AFD33C

#AFD33C 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.21:1 contrast (WCAG AA passes).

Color values

HEX#AFD33C
RGBrgb(175, 211, 60)
HSLhsl(74, 63%, 53%)
HSVhsv(74, 72%, 83%)
CMYKcmyk(17.1%, 0%, 71.6%, 17.3%)
CIE-LABlab(79.63, -32.00, 66.68)
CIE-LCHlch(79.63, 73.96, 115.63°)
OKLaboklab(81.35% -0.0936 0.1487)
OKLCHoklch(81.35% 0.176 122.2)
XYZxyz(41.7897, 56.0286, 12.8871)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD33C #603CD3
analogous
#D3AC3C #AFD33C #63D33C
triadic
#AFD33C #3CAFD3 #D33CAF
tetradic
#AFD33C #3CD3AC #603CD3 #D33C63
square
#AFD33C #3CD3AC #603CD3 #D33C63
split-complementary
#AFD33C #3C63D3 #AC3CD3
monochromatic
#63791B #8CAB27 #AFD33C #C3DE6E #D8EAA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD33C#FFFFFF#000000##000000
##AFD33C1.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)
#E0C620
Deuteranopia (green-blind)
#DBC549
Tritanopia (blue-blind)
#B8C8B6
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd33c;
/* rgb */ color: rgb(175, 211, 60);
/* oklch */ color: oklch(81.3% 0.176 122.2);
Tailwind
colors: {
  custom: {
    50: '#cae07c',
    500: '#afd33c',
    950: '#000000',
  },
}
SCSS
$custom: #afd33c;
$custom-light: #cae07c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd33c",
  "rgb": {
    "r": 175,
    "g": 211,
    "b": 60
  },
  "hsl": {
    "h": 74.305,
    "s": 63.18,
    "l": 53.137
  },
  "oklch": {
    "l": 0.81348,
    "c": 0.17573,
    "h": 122.2
  },
  "luminance": 0.56029
}

Semantic roles & 50–950 ramp

primary
#AFD33C
secondary
#453281
accent
#42E669
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD33C

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

Preview Lab → · Contrast checker → · Palette generator →

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