#AFCD5D#AFCD5D

#AFCD5D is a light, vivid yellow-green. Relative luminance 0.536; OKLCH L 80.3% C 0.143 H 122.2°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#AFCD5D
RGBrgb(175, 205, 93)
HSLhsl(76, 53%, 58%)
HSVhsv(76, 55%, 80%)
CMYKcmyk(14.6%, 0%, 54.6%, 19.6%)
CIE-LABlab(78.21, -26.79, 51.64)
CIE-LCHlch(78.21, 58.18, 117.42°)
OKLaboklab(80.29% -0.0762 0.1211)
OKLCHoklch(80.29% 0.143 122.2)
XYZxyz(41.4866, 53.5669, 18.5076)
Luminance0.5357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD5D #7B5DCD
analogous
#CDB35D #AFCD5D #77CD5D
triadic
#AFCD5D #5DAFCD #CD5DAF
tetradic
#AFCD5D #5DCDB3 #7B5DCD #CD5D77
square
#AFCD5D #5DCDB3 #7B5DCD #CD5D77
split-complementary
#AFCD5D #5D77CD #B35DCD
monochromatic
#6D8629 #93B538 #AFCD5D #C6DB8C #DDEABB

Accessibility & contrast

On white

1.79
#AFCD5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#AFCD5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD5D
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD5D#FFFFFF#000000##000000
##AFCD5D1.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcd5d;
/* rgb */ color: rgb(175, 205, 93);
/* oklch */ color: oklch(80.3% 0.143 122.2);
Tailwind
colors: {
  custom: {
    50: '#c9dc8e',
    500: '#afcd5d',
    950: '#000000',
  },
}
SCSS
$custom: #afcd5d;
$custom-light: #c9dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd5d",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 93
  },
  "hsl": {
    "h": 76.071,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80289,
    "c": 0.14308,
    "h": 122.2
  },
  "luminance": 0.53567
}

Semantic roles & 50–950 ramp

primary
#AFCD5D
secondary
#55418D
accent
#4CDC72
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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