#AFCD5A#AFCD5A

#AFCD5A is a light, vivid yellow-green. Relative luminance 0.535; OKLCH L 80.3% C 0.146 H 122.0°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#AFCD5A
RGBrgb(175, 205, 90)
HSLhsl(76, 53%, 58%)
HSVhsv(76, 56%, 80%)
CMYKcmyk(14.6%, 0%, 56.1%, 19.6%)
CIE-LABlab(78.18, -27.06, 52.97)
CIE-LCHlch(78.18, 59.48, 117.06°)
OKLaboklab(80.26% -0.0772 0.1237)
OKLCHoklch(80.26% 0.146 122)
XYZxyz(41.3563, 53.5147, 17.8215)
Luminance0.5352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD5A #785ACD
analogous
#CDB15A #AFCD5A #76CD5A
triadic
#AFCD5A #5AAFCD #CD5AAF
tetradic
#AFCD5A #5ACDB1 #785ACD #CD5A76
square
#AFCD5A #5ACDB1 #785ACD #CD5A76
split-complementary
#AFCD5A #5A76CD #B15ACD
monochromatic
#6C8428 #93B336 #AFCD5A #C6DB89 #DDE9B8

Accessibility & contrast

On white

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

On black

11.70
#AFCD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD5A
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD5A#FFFFFF#000000##000000
##AFCD5A1.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcd5a;
/* rgb */ color: rgb(175, 205, 90);
/* oklch */ color: oklch(80.3% 0.146 122.0);
Tailwind
colors: {
  custom: {
    50: '#c9dc8c',
    500: '#afcd5a',
    950: '#000000',
  },
}
SCSS
$custom: #afcd5a;
$custom-light: #c9dc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd5a",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 75.652,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80255,
    "c": 0.1458,
    "h": 122
  },
  "luminance": 0.53515
}

Semantic roles & 50–950 ramp

primary
#AFCD5A
secondary
#53408C
accent
#4BDD71
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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