#AFCD79#AFCD79

#AFCD79 is a light, moderate yellow-green. Relative luminance 0.542; OKLCH L 80.7% C 0.115 H 124.9°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#AFCD79
RGBrgb(175, 205, 121)
HSLhsl(81, 46%, 64%)
HSVhsv(81, 41%, 80%)
CMYKcmyk(14.6%, 0%, 41%, 19.6%)
CIE-LABlab(78.55, -23.83, 38.51)
CIE-LCHlch(78.55, 45.29, 121.76°)
OKLaboklab(80.68% -0.0657 0.094)
OKLCHoklch(80.68% 0.115 124.9)
XYZxyz(42.9615, 54.1568, 26.2754)
Luminance0.5416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD79 #9779CD
analogous
#CDC179 #AFCD79 #85CD79
triadic
#AFCD79 #79AFCD #CD79AF
tetradic
#AFCD79 #79CDC1 #9779CD #CD7985
square
#AFCD79 #79CDC1 #9779CD #CD7985
split-complementary
#AFCD79 #7985CD #C179CD
monochromatic
#739437 #94BC4C #AFCD79 #CADEA6 #E4EED2

Accessibility & contrast

On white

1.77
#AFCD79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCD79#FFFFFF#000000##000000
##AFCD791.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C373
Deuteranopia (green-blind)
#D1C27D
Tritanopia (blue-blind)
#B4C6B8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcd79;
/* rgb */ color: rgb(175, 205, 121);
/* oklch */ color: oklch(80.7% 0.115 124.9);
Tailwind
colors: {
  custom: {
    50: '#c8dca1',
    500: '#afcd79',
    950: '#000000',
  },
}
SCSS
$custom: #afcd79;
$custom-light: #c8dca1;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd79",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 121
  },
  "hsl": {
    "h": 81.429,
    "s": 45.652,
    "l": 63.922
  },
  "oklch": {
    "l": 0.80678,
    "c": 0.11467,
    "h": 124.9
  },
  "luminance": 0.54157
}

Semantic roles & 50–950 ramp

primary
#AFCD79
secondary
#6A509B
accent
#2DB95F
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCD79

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

Preview Lab → · Contrast checker → · Palette generator →

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