#AFCE47#AFCE47

#AFCE47 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#AFCE47
RGBrgb(175, 206, 71)
HSLhsl(74, 58%, 54%)
HSVhsv(74, 66%, 81%)
CMYKcmyk(15%, 0%, 65.5%, 19.2%)
CIE-LABlab(78.29, -28.99, 61.21)
CIE-LCHlch(78.29, 67.73, 115.34°)
OKLaboklab(80.29% -0.0844 0.1389)
OKLCHoklch(80.29% 0.162 121.3)
XYZxyz(40.8884, 53.7115, 14.1733)
Luminance0.5371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE47 #6647CE
analogous
#CEAA47 #AFCE47 #6CCE47
triadic
#AFCE47 #47AFCE #CE47AF
tetradic
#AFCE47 #47CEAA #6647CE #CE476C
square
#AFCE47 #47CEAA #6647CE #CE476C
split-complementary
#AFCE47 #476CCE #AA47CE
monochromatic
#667A21 #8EAA2D #AFCE47 #C4DB77 #D9E8A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCE47#FFFFFF#000000##000000
##AFCE471.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)
#DAC234
Deuteranopia (green-blind)
#D6C251
Tritanopia (blue-blind)
#B8C4B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce47;
/* rgb */ color: rgb(175, 206, 71);
/* oklch */ color: oklch(80.3% 0.162 121.3);
Tailwind
colors: {
  custom: {
    50: '#cadd81',
    500: '#afce47',
    950: '#000000',
  },
}
SCSS
$custom: #afce47;
$custom-light: #cadd81;
$custom-dark: #000000;
JSON
{
  "hex": "#afce47",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 71
  },
  "hsl": {
    "h": 73.778,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80294,
    "c": 0.16248,
    "h": 121.3
  },
  "luminance": 0.53712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFCE47

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

Preview Lab → · Contrast checker → · Palette generator →

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