#AFCC45#AFCC45

#AFCC45 is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.8% C 0.162 H 120.6°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#AFCC45
RGBrgb(175, 204, 69)
HSLhsl(73, 57%, 54%)
HSVhsv(73, 66%, 80%)
CMYKcmyk(14.2%, 0%, 66.2%, 20%)
CIE-LABlab(77.72, -28.17, 61.40)
CIE-LCHlch(77.72, 67.56, 114.64°)
OKLaboklab(79.82% -0.0823 0.139)
OKLCHoklch(79.82% 0.162 120.6)
XYZxyz(40.3468, 52.7295, 13.6813)
Luminance0.5273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC45 #6245CC
analogous
#CCA545 #AFCC45 #6BCC45
triadic
#AFCC45 #45AFCC #CC45AF
tetradic
#AFCC45 #45CCA5 #6245CC #CC456B
square
#AFCC45 #45CCA5 #6245CC #CC456B
split-complementary
#AFCC45 #456BCC #A545CC
monochromatic
#647620 #8CA62E #AFCC45 #C4D975 #D8E6A5

Accessibility & contrast

On white

1.82
#AFCC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#AFCC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC45
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC45#FFFFFF#000000##000000
##AFCC451.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C032
Deuteranopia (green-blind)
#D5C04F
Tritanopia (blue-blind)
#B8C2B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc45;
/* rgb */ color: rgb(175, 204, 69);
/* oklch */ color: oklch(79.8% 0.162 120.6);
Tailwind
colors: {
  custom: {
    50: '#cadb80',
    500: '#afcc45',
    950: '#000000',
  },
}
SCSS
$custom: #afcc45;
$custom-light: #cadb80;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc45",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 69
  },
  "hsl": {
    "h": 72.889,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79823,
    "c": 0.1615,
    "h": 120.6
  },
  "luminance": 0.52729
}

Semantic roles & 50–950 ramp

primary
#AFCC45
secondary
#46367F
accent
#48E068
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCC45

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

Preview Lab → · Contrast checker → · Palette generator →

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