#AFCE7E#AFCE7E

#AFCE7E is a light, moderate yellow-green. Relative luminance 0.548; OKLCH L 81.0% C 0.111 H 126.0°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#AFCE7E
RGBrgb(175, 206, 126)
HSLhsl(83, 45%, 65%)
HSVhsv(83, 39%, 81%)
CMYKcmyk(15%, 0%, 38.8%, 19.2%)
CIE-LABlab(78.90, -23.70, 36.43)
CIE-LCHlch(78.90, 43.46, 123.05°)
OKLaboklab(80.98% -0.065 0.0895)
OKLCHoklch(80.98% 0.111 126)
XYZxyz(43.5160, 54.7626, 28.0123)
Luminance0.5476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE7E #9D7ECE
analogous
#CEC57E #AFCE7E #87CE7E
triadic
#AFCE7E #7EAFCE #CE7EAF
tetradic
#AFCE7E #7ECEC5 #9D7ECE #CE7E87
square
#AFCE7E #7ECEC5 #9D7ECE #CE7E87
split-complementary
#AFCE7E #7E87CE #C57ECE
monochromatic
#73983A #93BD52 #AFCE7E #CBDFAA #E6F0D7

Accessibility & contrast

On white

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

On black

11.95
#AFCE7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE7E
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE7E#FFFFFF#000000##000000
##AFCE7E1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C478
Deuteranopia (green-blind)
#D2C382
Tritanopia (blue-blind)
#B3C7BA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afce7e;
/* rgb */ color: rgb(175, 206, 126);
/* oklch */ color: oklch(81.0% 0.111 126.0);
Tailwind
colors: {
  custom: {
    50: '#c8dda4',
    500: '#afce7e',
    950: '#000000',
  },
}
SCSS
$custom: #afce7e;
$custom-light: #c8dda4;
$custom-dark: #000000;
JSON
{
  "hex": "#afce7e",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 126
  },
  "hsl": {
    "h": 83.25,
    "s": 44.944,
    "l": 65.098
  },
  "oklch": {
    "l": 0.80983,
    "c": 0.1106,
    "h": 126
  },
  "luminance": 0.54763
}

Semantic roles & 50–950 ramp

primary
#AFCE7E
secondary
#70529E
accent
#2DB863
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCE7E

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

Preview Lab → · Contrast checker → · Palette generator →

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