#AFCE48#AFCE48

#AFCE48 is a light, vivid yellow-green. Relative luminance 0.537; OKLCH L 80.3% C 0.162 H 121.3°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#AFCE48
RGBrgb(175, 206, 72)
HSLhsl(74, 58%, 55%)
HSVhsv(74, 65%, 81%)
CMYKcmyk(15%, 0%, 65%, 19.2%)
CIE-LABlab(78.30, -28.92, 60.82)
CIE-LCHlch(78.30, 67.35, 115.43°)
OKLaboklab(80.3% -0.0841 0.1382)
OKLCHoklch(80.3% 0.162 121.3)
XYZxyz(40.9207, 53.7245, 14.3437)
Luminance0.5372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE48 #6748CE
analogous
#CEAA48 #AFCE48 #6CCE48
triadic
#AFCE48 #48AFCE #CE48AF
tetradic
#AFCE48 #48CEAA #6748CE #CE486C
square
#AFCE48 #48CEAA #6748CE #CE486C
split-complementary
#AFCE48 #486CCE #AA48CE
monochromatic
#667B21 #8EAB2E #AFCE48 #C4DB78 #D9E8A9

Accessibility & contrast

On white

1.79
#AFCE48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.74
#AFCE48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE48
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE48#FFFFFF#000000##000000
##AFCE481.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC236
Deuteranopia (green-blind)
#D6C252
Tritanopia (blue-blind)
#B8C4B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce48;
/* rgb */ color: rgb(175, 206, 72);
/* oklch */ color: oklch(80.3% 0.162 121.3);
Tailwind
colors: {
  custom: {
    50: '#cadd82',
    500: '#afce48',
    950: '#000000',
  },
}
SCSS
$custom: #afce48;
$custom-light: #cadd82;
$custom-dark: #000000;
JSON
{
  "hex": "#afce48",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 72
  },
  "hsl": {
    "h": 73.881,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.80303,
    "c": 0.16174,
    "h": 121.3
  },
  "luminance": 0.53724
}

Semantic roles & 50–950 ramp

primary
#AFCE48
secondary
#493783
accent
#47E16A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCE48

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

Preview Lab → · Contrast checker → · Palette generator →

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