#AFD13C#AFD13C

#AFD13C is a light, vivid yellow-green. Relative luminance 0.550; OKLCH L 80.9% C 0.173 H 121.7°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#AFD13C
RGBrgb(175, 209, 60)
HSLhsl(74, 62%, 53%)
HSVhsv(74, 71%, 82%)
CMYKcmyk(16.3%, 0%, 71.3%, 18%)
CIE-LABlab(79.06, -31.06, 66.13)
CIE-LCHlch(79.06, 73.06, 115.16°)
OKLaboklab(80.89% -0.0911 0.1475)
OKLCHoklch(80.89% 0.173 121.7)
XYZxyz(41.2959, 55.0411, 12.7225)
Luminance0.5504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD13C #5E3CD1
analogous
#D1A83C #AFD13C #65D13C
triadic
#AFD13C #3CAFD1 #D13CAF
tetradic
#AFD13C #3CD1A8 #5E3CD1 #D13C65
square
#AFD13C #3CD1A8 #5E3CD1 #D13C65
split-complementary
#AFD13C #3C65D1 #A83CD1
monochromatic
#62771C #8BA828 #AFD13C #C3DD6E #D8E89F

Accessibility & contrast

On white

1.75
#AFD13C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#AFD13C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD13C
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD13C#FFFFFF#000000##000000
##AFD13C1.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC421
Deuteranopia (green-blind)
#D9C449
Tritanopia (blue-blind)
#B8C6B4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afd13c;
/* rgb */ color: rgb(175, 209, 60);
/* oklch */ color: oklch(80.9% 0.173 121.7);
Tailwind
colors: {
  custom: {
    50: '#cadf7b',
    500: '#afd13c',
    950: '#000000',
  },
}
SCSS
$custom: #afd13c;
$custom-light: #cadf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afd13c",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 60
  },
  "hsl": {
    "h": 73.691,
    "s": 61.826,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80892,
    "c": 0.17338,
    "h": 121.7
  },
  "luminance": 0.55041
}

Semantic roles & 50–950 ramp

primary
#AFD13C
secondary
#44327F
accent
#43E568
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFD13C

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

Preview Lab → · Contrast checker → · Palette generator →

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