#AFCE7C#AFCE7C

#AFCE7C is a light, moderate yellow-green. Relative luminance 0.547; OKLCH L 81.0% C 0.113 H 125.7°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#AFCE7C
RGBrgb(175, 206, 124)
HSLhsl(83, 46%, 65%)
HSVhsv(83, 40%, 81%)
CMYKcmyk(15%, 0%, 39.8%, 19.2%)
CIE-LABlab(78.87, -23.95, 37.40)
CIE-LCHlch(78.87, 44.42, 122.64°)
OKLaboklab(80.95% -0.0659 0.0916)
OKLCHoklch(80.95% 0.113 125.7)
XYZxyz(43.3883, 54.7115, 27.3394)
Luminance0.5471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE7C #9B7CCE
analogous
#CEC47C #AFCE7C #86CE7C
triadic
#AFCE7C #7CAFCE #CE7CAF
tetradic
#AFCE7C #7CCEC4 #9B7CCE #CE7C86
square
#AFCE7C #7CCEC4 #9B7CCE #CE7C86
split-complementary
#AFCE7C #7C86CE #C47CCE
monochromatic
#739739 #94BD4F #AFCE7C #CADFA9 #E5EFD5

Accessibility & contrast

On white

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

On black

11.94
#AFCE7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE7C
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE7C#FFFFFF#000000##000000
##AFCE7C1.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C476
Deuteranopia (green-blind)
#D2C380
Tritanopia (blue-blind)
#B4C7BA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afce7c;
/* rgb */ color: rgb(175, 206, 124);
/* oklch */ color: oklch(81.0% 0.113 125.7);
Tailwind
colors: {
  custom: {
    50: '#c8dda3',
    500: '#afce7c',
    950: '#000000',
  },
}
SCSS
$custom: #afce7c;
$custom-light: #c8dda3;
$custom-dark: #000000;
JSON
{
  "hex": "#afce7c",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 124
  },
  "hsl": {
    "h": 82.683,
    "s": 45.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.8095,
    "c": 0.11283,
    "h": 125.7
  },
  "luminance": 0.54712
}

Semantic roles & 50–950 ramp

primary
#AFCE7C
secondary
#6E519D
accent
#2DB962
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCE7C

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

Preview Lab → · Contrast checker → · Palette generator →

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