#AFD53C#AFD53C

#AFD53C is a light, vivid yellow-green. Relative luminance 0.570; OKLCH L 81.8% C 0.178 H 122.7°. Best body text is #000000 at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#AFD53C
RGBrgb(175, 213, 60)
HSLhsl(75, 65%, 54%)
HSVhsv(75, 72%, 84%)
CMYKcmyk(17.8%, 0%, 71.8%, 16.5%)
CIE-LABlab(80.20, -32.92, 67.24)
CIE-LCHlch(80.20, 74.87, 116.09°)
OKLaboklab(81.81% -0.0962 0.1499)
OKLCHoklch(81.81% 0.178 122.7)
XYZxyz(42.2896, 57.0285, 13.0538)
Luminance0.5703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD53C #623CD5
analogous
#D5AE3C #AFD53C #62D53C
triadic
#AFD53C #3CAFD5 #D53CAF
tetradic
#AFD53C #3CD5AE #623CD5 #D53C62
square
#AFD53C #3CD5AE #623CD5 #D53C62
split-complementary
#AFD53C #3C62D5 #AE3CD5
monochromatic
#647C1B #8CAE26 #AFD53C #C4E06E #D8EBA1

Accessibility & contrast

On white

1.69
#AFD53C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.41
#AFD53C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD53C
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD53C#FFFFFF#000000##000000
##AFD53C1.001.6912.4112.41
#FFFFFF1.691.0021.0021.00
#00000012.4121.001.001.00
##00000012.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C81F
Deuteranopia (green-blind)
#DDC749
Tritanopia (blue-blind)
#B8CAB7
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd53c;
/* rgb */ color: rgb(175, 213, 60);
/* oklch */ color: oklch(81.8% 0.178 122.7);
Tailwind
colors: {
  custom: {
    50: '#cbe27c',
    500: '#afd53c',
    950: '#000000',
  },
}
SCSS
$custom: #afd53c;
$custom-light: #cbe27c;
$custom-dark: #000000;
JSON
{
  "hex": "#afd53c",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 60
  },
  "hsl": {
    "h": 74.902,
    "s": 64.557,
    "l": 53.529
  },
  "oklch": {
    "l": 0.81805,
    "c": 0.17808,
    "h": 122.7
  },
  "luminance": 0.57029
}

Semantic roles & 50–950 ramp

primary
#AFD53C
secondary
#463284
accent
#40E86A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD53C

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

Preview Lab → · Contrast checker → · Palette generator →

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