#AFCD48#AFCD48

#AFCD48 is a light, vivid yellow-green. Relative luminance 0.532; OKLCH L 80.1% C 0.161 H 121.0°. Best body text is #000000 at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#AFCD48
RGBrgb(175, 205, 72)
HSLhsl(74, 57%, 54%)
HSVhsv(74, 65%, 80%)
CMYKcmyk(14.6%, 0%, 64.9%, 19.6%)
CIE-LABlab(78.02, -28.45, 60.53)
CIE-LCHlch(78.02, 66.88, 115.17°)
OKLaboklab(80.08% -0.0828 0.1376)
OKLCHoklch(80.08% 0.161 121)
XYZxyz(40.6808, 53.2445, 14.2637)
Luminance0.5324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD48 #6648CD
analogous
#CDA948 #AFCD48 #6DCD48
triadic
#AFCD48 #48AFCD #CD48AF
tetradic
#AFCD48 #48CDA9 #6648CD #CD486D
square
#AFCD48 #48CDA9 #6648CD #CD486D
split-complementary
#AFCD48 #486DCD #A948CD
monochromatic
#667921 #8EA92E #AFCD48 #C4DA78 #D9E7A8

Accessibility & contrast

On white

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

On black

11.65
#AFCD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD48
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD48#FFFFFF#000000##000000
##AFCD481.001.8011.6511.65
#FFFFFF1.801.0021.0021.00
#00000011.6521.001.001.00
##00000011.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C136
Deuteranopia (green-blind)
#D5C152
Tritanopia (blue-blind)
#B8C3B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd48;
/* rgb */ color: rgb(175, 205, 72);
/* oklch */ color: oklch(80.1% 0.161 121.0);
Tailwind
colors: {
  custom: {
    50: '#cadc81',
    500: '#afcd48',
    950: '#000000',
  },
}
SCSS
$custom: #afcd48;
$custom-light: #cadc81;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd48",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 73.534,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80076,
    "c": 0.16053,
    "h": 121
  },
  "luminance": 0.53244
}

Semantic roles & 50–950 ramp

primary
#AFCD48
secondary
#483882
accent
#47E06A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCD48

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

Preview Lab → · Contrast checker → · Palette generator →

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