#AFCD4E#AFCD4E

#AFCD4E is a light, vivid yellow-green. Relative luminance 0.533; OKLCH L 80.1% C 0.156 H 121.3°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#AFCD4E
RGBrgb(175, 205, 78)
HSLhsl(74, 56%, 55%)
HSVhsv(74, 62%, 80%)
CMYKcmyk(14.6%, 0%, 62%, 19.6%)
CIE-LABlab(78.07, -28.02, 58.10)
CIE-LCHlch(78.07, 64.51, 115.75°)
OKLaboklab(80.13% -0.081 0.1332)
OKLCHoklch(80.13% 0.156 121.3)
XYZxyz(40.8861, 53.3267, 15.3454)
Luminance0.5333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD4E #6C4ECD
analogous
#CDAB4E #AFCD4E #6FCD4E
triadic
#AFCD4E #4EAFCD #CD4EAF
tetradic
#AFCD4E #4ECDAB #6C4ECD #CD4E6F
square
#AFCD4E #4ECDAB #6C4ECD #CD4E6F
split-complementary
#AFCD4E #4E6FCD #AB4ECD
monochromatic
#687D23 #90AD31 #AFCD4E #C5DA7E #DAE8AD

Accessibility & contrast

On white

1.80
#AFCD4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#AFCD4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD4E
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD4E#FFFFFF#000000##000000
##AFCD4E1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23F
Deuteranopia (green-blind)
#D5C157
Tritanopia (blue-blind)
#B8C3B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd4e;
/* rgb */ color: rgb(175, 205, 78);
/* oklch */ color: oklch(80.1% 0.156 121.3);
Tailwind
colors: {
  custom: {
    50: '#cadc85',
    500: '#afcd4e',
    950: '#000000',
  },
}
SCSS
$custom: #afcd4e;
$custom-light: #cadc85;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd4e",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 78
  },
  "hsl": {
    "h": 74.173,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8013,
    "c": 0.15594,
    "h": 121.3
  },
  "luminance": 0.53327
}

Semantic roles & 50–950 ramp

primary
#AFCD4E
secondary
#4C3A85
accent
#49DF6C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCD4E

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

Preview Lab → · Contrast checker → · Palette generator →

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