#AFCE45#AFCE45

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

Color values

HEX#AFCE45
RGBrgb(175, 206, 69)
HSLhsl(74, 58%, 54%)
HSVhsv(74, 67%, 81%)
CMYKcmyk(15%, 0%, 66.5%, 19.2%)
CIE-LABlab(78.28, -29.12, 61.99)
CIE-LCHlch(78.28, 68.49, 115.16°)
OKLaboklab(80.28% -0.0849 0.1402)
OKLCHoklch(80.28% 0.164 121.2)
XYZxyz(40.8253, 53.6863, 13.8408)
Luminance0.5369 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE45 #6445CE
analogous
#CEA945 #AFCE45 #6BCE45
triadic
#AFCE45 #45AFCE #CE45AF
tetradic
#AFCE45 #45CEA9 #6445CE #CE456B
square
#AFCE45 #45CEA9 #6445CE #CE456B
split-complementary
#AFCE45 #456BCE #A945CE
monochromatic
#657920 #8DA92D #AFCE45 #C4DB75 #D9E8A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCE45#FFFFFF#000000##000000
##AFCE451.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)
#DAC231
Deuteranopia (green-blind)
#D6C24F
Tritanopia (blue-blind)
#B8C4B2
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce45;
/* rgb */ color: rgb(175, 206, 69);
/* oklch */ color: oklch(80.3% 0.164 121.2);
Tailwind
colors: {
  custom: {
    50: '#cadd80',
    500: '#afce45',
    950: '#000000',
  },
}
SCSS
$custom: #afce45;
$custom-light: #cadd80;
$custom-dark: #000000;
JSON
{
  "hex": "#afce45",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 69
  },
  "hsl": {
    "h": 73.577,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80277,
    "c": 0.16391,
    "h": 121.2
  },
  "luminance": 0.53686
}

Semantic roles & 50–950 ramp

primary
#AFCE45
secondary
#473681
accent
#46E269
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCE45

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

Preview Lab → · Contrast checker → · Palette generator →

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