#AFCE5D#AFCE5D

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

Color values

HEX#AFCE5D
RGBrgb(175, 206, 93)
HSLhsl(76, 54%, 59%)
HSVhsv(76, 55%, 81%)
CMYKcmyk(15%, 0%, 54.9%, 19.2%)
CIE-LABlab(78.49, -27.27, 51.96)
CIE-LCHlch(78.49, 58.69, 117.69°)
OKLaboklab(80.52% -0.0775 0.1218)
OKLCHoklch(80.52% 0.144 122.5)
XYZxyz(41.7265, 54.0468, 18.5876)
Luminance0.5405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE5D #7C5DCE
analogous
#CEB45D #AFCE5D #76CE5D
triadic
#AFCE5D #5DAFCE #CE5DAF
tetradic
#AFCE5D #5DCEB4 #7C5DCE #CE5D76
square
#AFCE5D #5DCEB4 #7C5DCE #CE5D76
split-complementary
#AFCE5D #5D76CE #B45DCE
monochromatic
#6E8829 #94B737 #AFCE5D #C6DC8C #DDEABB

Accessibility & contrast

On white

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

On black

11.81
#AFCE5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE5D
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE5D#FFFFFF#000000##000000
##AFCE5D1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C352
Deuteranopia (green-blind)
#D5C264
Tritanopia (blue-blind)
#B7C5B5
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afce5d;
/* rgb */ color: rgb(175, 206, 93);
/* oklch */ color: oklch(80.5% 0.144 122.5);
Tailwind
colors: {
  custom: {
    50: '#c9dd8e',
    500: '#afce5d',
    950: '#000000',
  },
}
SCSS
$custom: #afce5d;
$custom-light: #c9dd8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afce5d",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 93
  },
  "hsl": {
    "h": 76.46,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80515,
    "c": 0.14439,
    "h": 122.5
  },
  "luminance": 0.54047
}

Semantic roles & 50–950 ramp

primary
#AFCE5D
secondary
#56418E
accent
#4BDD73
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCE5D

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

Preview Lab → · Contrast checker → · Palette generator →

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