#AFCE58#AFCE58

#AFCE58 is a light, vivid yellow-green. Relative luminance 0.540; OKLCH L 80.5% C 0.149 H 122.1°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#AFCE58
RGBrgb(175, 206, 88)
HSLhsl(76, 55%, 58%)
HSVhsv(76, 57%, 81%)
CMYKcmyk(15%, 0%, 57.3%, 19.2%)
CIE-LABlab(78.44, -27.71, 54.17)
CIE-LCHlch(78.44, 60.84, 117.09°)
OKLaboklab(80.46% -0.0792 0.1261)
OKLCHoklch(80.46% 0.149 122.1)
XYZxyz(41.5123, 53.9611, 17.4592)
Luminance0.5396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE58 #7758CE
analogous
#CEB258 #AFCE58 #74CE58
triadic
#AFCE58 #58AFCE #CE58AF
tetradic
#AFCE58 #58CEB2 #7758CE #CE5874
square
#AFCE58 #58CEB2 #7758CE #CE5874
split-complementary
#AFCE58 #5874CE #B258CE
monochromatic
#6C8527 #93B435 #AFCE58 #C6DC87 #DCEAB7

Accessibility & contrast

On white

1.78
#AFCE58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.79
#AFCE58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE58
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE58#FFFFFF#000000##000000
##AFCE581.001.7811.7911.79
#FFFFFF1.781.0021.0021.00
#00000011.7921.001.001.00
##00000011.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34B
Deuteranopia (green-blind)
#D5C260
Tritanopia (blue-blind)
#B7C5B4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce58;
/* rgb */ color: rgb(175, 206, 88);
/* oklch */ color: oklch(80.5% 0.149 122.1);
Tailwind
colors: {
  custom: {
    50: '#c9dd8b',
    500: '#afce58',
    950: '#000000',
  },
}
SCSS
$custom: #afce58;
$custom-light: #c9dd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#afce58",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 88
  },
  "hsl": {
    "h": 75.763,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80458,
    "c": 0.14886,
    "h": 122.1
  },
  "luminance": 0.53961
}

Semantic roles & 50–950 ramp

primary
#AFCE58
secondary
#533E8C
accent
#4ADE71
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCE58

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

Preview Lab → · Contrast checker → · Palette generator →

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