#AFCE7F#AFCE7F

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

Color values

HEX#AFCE7F
RGBrgb(175, 206, 127)
HSLhsl(84, 45%, 65%)
HSVhsv(84, 38%, 81%)
CMYKcmyk(15%, 0%, 38.3%, 19.2%)
CIE-LABlab(78.92, -23.58, 35.94)
CIE-LCHlch(78.92, 42.98, 123.27°)
OKLaboklab(81% -0.0646 0.0884)
OKLCHoklch(81% 0.109 126.2)
XYZxyz(43.5809, 54.7885, 28.3538)
Luminance0.5479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE7F #9E7FCE
analogous
#CEC57F #AFCE7F #87CE7F
triadic
#AFCE7F #7FAFCE #CE7FAF
tetradic
#AFCE7F #7FCEC5 #9E7FCE #CE7F87
square
#AFCE7F #7FCEC5 #9E7FCE #CE7F87
split-complementary
#AFCE7F #7F87CE #C57FCE
monochromatic
#73983A #93BD53 #AFCE7F #CBDFAB #E6F0D8

Accessibility & contrast

On white

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

On black

11.96
#AFCE7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE7F
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE7F#FFFFFF#000000##000000
##AFCE7F1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afce7f;
/* rgb */ color: rgb(175, 206, 127);
/* oklch */ color: oklch(81.0% 0.109 126.2);
Tailwind
colors: {
  custom: {
    50: '#c8dda5',
    500: '#afce7f',
    950: '#000000',
  },
}
SCSS
$custom: #afce7f;
$custom-light: #c8dda5;
$custom-dark: #000000;
JSON
{
  "hex": "#afce7f",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 127
  },
  "hsl": {
    "h": 83.544,
    "s": 44.633,
    "l": 65.294
  },
  "oklch": {
    "l": 0.81,
    "c": 0.10948,
    "h": 126.2
  },
  "luminance": 0.54789
}

Semantic roles & 50–950 ramp

primary
#AFCE7F
secondary
#70539E
accent
#2EB864
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCE7F

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

Preview Lab → · Contrast checker → · Palette generator →

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