#AFCE62#AFCE62

#AFCE62 is a light, vivid yellow-green. Relative luminance 0.541; OKLCH L 80.6% C 0.140 H 122.8°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#AFCE62
RGBrgb(175, 206, 98)
HSLhsl(77, 52%, 60%)
HSVhsv(77, 52%, 81%)
CMYKcmyk(15%, 0%, 52.4%, 19.2%)
CIE-LABlab(78.54, -26.81, 49.71)
CIE-LCHlch(78.54, 56.48, 118.34°)
OKLaboklab(80.58% -0.0758 0.1174)
OKLCHoklch(80.58% 0.14 122.8)
XYZxyz(41.9553, 54.1383, 19.7923)
Luminance0.5414 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE62 #8162CE
analogous
#CEB762 #AFCE62 #79CE62
triadic
#AFCE62 #62AFCE #CE62AF
tetradic
#AFCE62 #62CEB7 #8162CE #CE6279
square
#AFCE62 #62CEB7 #8162CE #CE6279
split-complementary
#AFCE62 #6279CE #B762CE
monochromatic
#6F8A2B #95B93A #AFCE62 #C7DD91 #DFEBBF

Accessibility & contrast

On white

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

On black

11.83
#AFCE62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE62
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE62#FFFFFF#000000##000000
##AFCE621.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C358
Deuteranopia (green-blind)
#D4C268
Tritanopia (blue-blind)
#B6C5B6
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce62;
/* rgb */ color: rgb(175, 206, 98);
/* oklch */ color: oklch(80.6% 0.140 122.8);
Tailwind
colors: {
  custom: {
    50: '#c9dd91',
    500: '#afce62',
    950: '#000000',
  },
}
SCSS
$custom: #afce62;
$custom-light: #c9dd91;
$custom-dark: #000000;
JSON
{
  "hex": "#afce62",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 98
  },
  "hsl": {
    "h": 77.222,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80575,
    "c": 0.13973,
    "h": 122.8
  },
  "luminance": 0.54138
}

Semantic roles & 50–950 ramp

primary
#AFCE62
secondary
#5A4391
accent
#4CDC75
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCE62

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

Preview Lab → · Contrast checker → · Palette generator →

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