#AFDC2F#AFDC2F

#AFDC2F is a very light, vivid yellow-green. Relative luminance 0.605; OKLCH L 83.3% C 0.193 H 123.9°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#AFDC2F
RGBrgb(175, 220, 47)
HSLhsl(76, 71%, 52%)
HSVhsv(76, 79%, 86%)
CMYKcmyk(20.5%, 0%, 78.6%, 13.7%)
CIE-LABlab(82.11, -36.74, 73.11)
CIE-LCHlch(82.11, 81.82, 116.68°)
OKLaboklab(83.33% -0.1076 0.1602)
OKLCHoklch(83.33% 0.193 123.9)
XYZxyz(43.7860, 60.5052, 12.0607)
Luminance0.6051 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDC2F #5C2FDC
analogous
#DCB32F #AFDC2F #59DC2F
triadic
#AFDC2F #2FAFDC #DC2FAF
tetradic
#AFDC2F #2FDCB3 #5C2FDC #DC2F59
square
#AFDC2F #2FDCB3 #5C2FDC #DC2F59
split-complementary
#AFDC2F #2F59DC #B32FDC
monochromatic
#617C15 #8AB01E #AFDC2F #C3E563 #D7EE98

Accessibility & contrast

On white

1.60
#AFDC2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.10
#AFDC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDC2F
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDC2F#FFFFFF#000000##000000
##AFDC2F1.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CE00
Deuteranopia (green-blind)
#E3CC41
Tritanopia (blue-blind)
#B8D1BC
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afdc2f;
/* rgb */ color: rgb(175, 220, 47);
/* oklch */ color: oklch(83.3% 0.193 123.9);
Tailwind
colors: {
  custom: {
    50: '#cbe777',
    500: '#afdc2f',
    950: '#000000',
  },
}
SCSS
$custom: #afdc2f;
$custom-light: #cbe777;
$custom-dark: #000000;
JSON
{
  "hex": "#afdc2f",
  "rgb": {
    "r": 175,
    "g": 220,
    "b": 47
  },
  "hsl": {
    "h": 75.607,
    "s": 71.193,
    "l": 52.353
  },
  "oklch": {
    "l": 0.83333,
    "c": 0.19296,
    "h": 123.9
  },
  "luminance": 0.60506
}

Semantic roles & 50–950 ramp

primary
#AFDC2F
secondary
#432C83
accent
#3AEE69
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#14160A
muted
#83847D

Preview Lab

Preview with #AFDC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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