#AFCE46#AFCE46

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

Color values

HEX#AFCE46
RGBrgb(175, 206, 70)
HSLhsl(74, 58%, 54%)
HSVhsv(74, 66%, 81%)
CMYKcmyk(15%, 0%, 66%, 19.2%)
CIE-LABlab(78.29, -29.05, 61.60)
CIE-LCHlch(78.29, 68.11, 115.25°)
OKLaboklab(80.29% -0.0846 0.1395)
OKLCHoklch(80.29% 0.163 121.2)
XYZxyz(40.8566, 53.6988, 14.0057)
Luminance0.5370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE46 #6546CE
analogous
#CEA946 #AFCE46 #6BCE46
triadic
#AFCE46 #46AFCE #CE46AF
tetradic
#AFCE46 #46CEA9 #6546CE #CE466B
square
#AFCE46 #46CEA9 #6546CE #CE466B
split-complementary
#AFCE46 #466BCE #A946CE
monochromatic
#657920 #8DAA2D #AFCE46 #C4DB76 #D9E8A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCE46#FFFFFF#000000##000000
##AFCE461.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)
#DAC233
Deuteranopia (green-blind)
#D6C250
Tritanopia (blue-blind)
#B8C4B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce46;
/* rgb */ color: rgb(175, 206, 70);
/* oklch */ color: oklch(80.3% 0.163 121.2);
Tailwind
colors: {
  custom: {
    50: '#cadd80',
    500: '#afce46',
    950: '#000000',
  },
}
SCSS
$custom: #afce46;
$custom-light: #cadd80;
$custom-dark: #000000;
JSON
{
  "hex": "#afce46",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 70
  },
  "hsl": {
    "h": 73.676,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.80286,
    "c": 0.16319,
    "h": 121.2
  },
  "luminance": 0.53699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFCE46

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

Preview Lab → · Contrast checker → · Palette generator →

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