#AFCD45#AFCD45

#AFCD45 is a light, vivid yellow-green. Relative luminance 0.532; OKLCH L 80.0% C 0.163 H 120.9°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#AFCD45
RGBrgb(175, 205, 69)
HSLhsl(73, 58%, 54%)
HSVhsv(73, 66%, 80%)
CMYKcmyk(14.6%, 0%, 66.3%, 19.6%)
CIE-LABlab(78.00, -28.64, 61.70)
CIE-LCHlch(78.00, 68.02, 114.90°)
OKLaboklab(80.05% -0.0836 0.1396)
OKLCHoklch(80.05% 0.163 120.9)
XYZxyz(40.5853, 53.2063, 13.7608)
Luminance0.5321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD45 #6345CD
analogous
#CDA745 #AFCD45 #6BCD45
triadic
#AFCD45 #45AFCD #CD45AF
tetradic
#AFCD45 #45CDA7 #6345CD #CD456B
square
#AFCD45 #45CDA7 #6345CD #CD456B
split-complementary
#AFCD45 #456BCD #A745CD
monochromatic
#647720 #8DA82D #AFCD45 #C4DA75 #D8E7A5

Accessibility & contrast

On white

1.80
#AFCD45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#AFCD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD45
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD45#FFFFFF#000000##000000
##AFCD451.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C132
Deuteranopia (green-blind)
#D6C14F
Tritanopia (blue-blind)
#B8C3B1
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd45;
/* rgb */ color: rgb(175, 205, 69);
/* oklch */ color: oklch(80.0% 0.163 120.9);
Tailwind
colors: {
  custom: {
    50: '#cadc80',
    500: '#afcd45',
    950: '#000000',
  },
}
SCSS
$custom: #afcd45;
$custom-light: #cadc80;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd45",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 69
  },
  "hsl": {
    "h": 73.235,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.8005,
    "c": 0.1627,
    "h": 120.9
  },
  "luminance": 0.53206
}

Semantic roles & 50–950 ramp

primary
#AFCD45
secondary
#473680
accent
#47E169
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCD45

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

Preview Lab → · Contrast checker → · Palette generator →

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