#AFCE59#AFCE59

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

Color values

HEX#AFCE59
RGBrgb(175, 206, 89)
HSLhsl(76, 54%, 58%)
HSVhsv(76, 57%, 81%)
CMYKcmyk(15%, 0%, 56.8%, 19.2%)
CIE-LABlab(78.45, -27.62, 53.73)
CIE-LCHlch(78.45, 60.42, 117.21°)
OKLaboklab(80.47% -0.0789 0.1252)
OKLCHoklch(80.47% 0.148 122.2)
XYZxyz(41.5540, 53.9778, 17.6789)
Luminance0.5398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE59 #7859CE
analogous
#CEB259 #AFCE59 #75CE59
triadic
#AFCE59 #59AFCE #CE59AF
tetradic
#AFCE59 #59CEB2 #7859CE #CE5975
square
#AFCE59 #59CEB2 #7859CE #CE5975
split-complementary
#AFCE59 #5975CE #B259CE
monochromatic
#6C8527 #93B535 #AFCE59 #C6DC88 #DDEAB8

Accessibility & contrast

On white

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

On black

11.80
#AFCE59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE59
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE59#FFFFFF#000000##000000
##AFCE591.001.7811.8011.80
#FFFFFF1.781.0021.0021.00
#00000011.8021.001.001.00
##00000011.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afce59;
/* rgb */ color: rgb(175, 206, 89);
/* oklch */ color: oklch(80.5% 0.148 122.2);
Tailwind
colors: {
  custom: {
    50: '#c9dd8c',
    500: '#afce59',
    950: '#000000',
  },
}
SCSS
$custom: #afce59;
$custom-light: #c9dd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afce59",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 89
  },
  "hsl": {
    "h": 75.897,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80469,
    "c": 0.14798,
    "h": 122.2
  },
  "luminance": 0.53978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFCE59

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

Preview Lab → · Contrast checker → · Palette generator →

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