#AFCC58#AFCC58

#AFCC58 is a light, vivid yellow-green. Relative luminance 0.530; OKLCH L 80.0% C 0.146 H 121.5°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#AFCC58
RGBrgb(175, 204, 88)
HSLhsl(75, 53%, 57%)
HSVhsv(75, 57%, 80%)
CMYKcmyk(14.2%, 0%, 56.9%, 20%)
CIE-LABlab(77.88, -26.75, 53.53)
CIE-LCHlch(77.88, 59.85, 116.55°)
OKLaboklab(80.01% -0.0765 0.1247)
OKLCHoklch(80.01% 0.146 121.5)
XYZxyz(41.0339, 53.0043, 17.2997)
Luminance0.5300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC58 #7558CC
analogous
#CCAF58 #AFCC58 #75CC58
triadic
#AFCC58 #58AFCC #CC58AF
tetradic
#AFCC58 #58CCAF #7558CC #CC5875
square
#AFCC58 #58CCAF #7558CC #CC5875
split-complementary
#AFCC58 #5875CC #AF58CC
monochromatic
#6B8228 #92B136 #AFCC58 #C5DA87 #DCE9B6

Accessibility & contrast

On white

1.81
#AFCC58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#AFCC58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC58
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC58#FFFFFF#000000##000000
##AFCC581.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14C
Deuteranopia (green-blind)
#D4C15F
Tritanopia (blue-blind)
#B7C3B3
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc58;
/* rgb */ color: rgb(175, 204, 88);
/* oklch */ color: oklch(80.0% 0.146 121.5);
Tailwind
colors: {
  custom: {
    50: '#c9db8b',
    500: '#afcc58',
    950: '#000000',
  },
}
SCSS
$custom: #afcc58;
$custom-light: #c9db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc58",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 88
  },
  "hsl": {
    "h": 75,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80007,
    "c": 0.14628,
    "h": 121.5
  },
  "luminance": 0.53004
}

Semantic roles & 50–950 ramp

primary
#AFCC58
secondary
#513F89
accent
#4BDD70
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCC58

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

Preview Lab → · Contrast checker → · Palette generator →

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