#AFCE79#AFCE79

#AFCE79 is a light, moderate yellow-green. Relative luminance 0.546; OKLCH L 80.9% C 0.116 H 125.3°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#AFCE79
RGBrgb(175, 206, 121)
HSLhsl(82, 46%, 64%)
HSVhsv(82, 41%, 81%)
CMYKcmyk(15%, 0%, 41.3%, 19.2%)
CIE-LABlab(78.83, -24.32, 38.86)
CIE-LCHlch(78.83, 45.84, 122.04°)
OKLaboklab(80.9% -0.067 0.0948)
OKLCHoklch(80.9% 0.116 125.3)
XYZxyz(43.2014, 54.6367, 26.3554)
Luminance0.5464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE79 #9879CE
analogous
#CEC379 #AFCE79 #85CE79
triadic
#AFCE79 #79AFCE #CE79AF
tetradic
#AFCE79 #79CEC3 #9879CE #CE7985
square
#AFCE79 #79CEC3 #9879CE #CE7985
split-complementary
#AFCE79 #7985CE #C379CE
monochromatic
#739637 #94BE4C #AFCE79 #CADEA6 #E5EFD3

Accessibility & contrast

On white

1.76
#AFCE79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.93
#AFCE79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE79
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE79#FFFFFF#000000##000000
##AFCE791.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C472
Deuteranopia (green-blind)
#D2C37D
Tritanopia (blue-blind)
#B4C7B9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afce79;
/* rgb */ color: rgb(175, 206, 121);
/* oklch */ color: oklch(80.9% 0.116 125.3);
Tailwind
colors: {
  custom: {
    50: '#c8dda1',
    500: '#afce79',
    950: '#000000',
  },
}
SCSS
$custom: #afce79;
$custom-light: #c8dda1;
$custom-dark: #000000;
JSON
{
  "hex": "#afce79",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 121
  },
  "hsl": {
    "h": 81.882,
    "s": 46.448,
    "l": 64.118
  },
  "oklch": {
    "l": 0.80901,
    "c": 0.11612,
    "h": 125.3
  },
  "luminance": 0.54637
}

Semantic roles & 50–950 ramp

primary
#AFCE79
secondary
#6B4F9C
accent
#2CBA60
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCE79

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

Preview Lab → · Contrast checker → · Palette generator →

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