#AFCD58#AFCD58

#AFCD58 is a light, vivid yellow-green. Relative luminance 0.535; OKLCH L 80.2% C 0.148 H 121.8°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#AFCD58
RGBrgb(175, 205, 88)
HSLhsl(75, 54%, 57%)
HSVhsv(75, 57%, 80%)
CMYKcmyk(14.6%, 0%, 57.1%, 19.6%)
CIE-LABlab(78.16, -27.23, 53.85)
CIE-LCHlch(78.16, 60.34, 116.82°)
OKLaboklab(80.23% -0.0779 0.1254)
OKLCHoklch(80.23% 0.148 121.8)
XYZxyz(41.2723, 53.4811, 17.3792)
Luminance0.5348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD58 #7658CD
analogous
#CDB158 #AFCD58 #74CD58
triadic
#AFCD58 #58AFCD #CD58AF
tetradic
#AFCD58 #58CDB1 #7658CD #CD5874
square
#AFCD58 #58CDB1 #7658CD #CD5874
split-complementary
#AFCD58 #5874CD #B158CD
monochromatic
#6C8327 #92B235 #AFCD58 #C6DB87 #DCE9B6

Accessibility & contrast

On white

1.80
#AFCD58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#AFCD58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD58
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD58#FFFFFF#000000##000000
##AFCD581.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24C
Deuteranopia (green-blind)
#D4C15F
Tritanopia (blue-blind)
#B7C4B4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd58;
/* rgb */ color: rgb(175, 205, 88);
/* oklch */ color: oklch(80.2% 0.148 121.8);
Tailwind
colors: {
  custom: {
    50: '#c9dc8b',
    500: '#afcd58',
    950: '#000000',
  },
}
SCSS
$custom: #afcd58;
$custom-light: #c9dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd58",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 88
  },
  "hsl": {
    "h": 75.385,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80232,
    "c": 0.14758,
    "h": 121.8
  },
  "luminance": 0.53481
}

Semantic roles & 50–950 ramp

primary
#AFCD58
secondary
#523F8B
accent
#4BDD70
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCD58

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

Preview Lab → · Contrast checker → · Palette generator →

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