#AFCE7D#AFCE7D

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

Color values

HEX#AFCE7D
RGBrgb(175, 206, 125)
HSLhsl(83, 45%, 65%)
HSVhsv(83, 39%, 81%)
CMYKcmyk(15%, 0%, 39.3%, 19.2%)
CIE-LABlab(78.89, -23.83, 36.91)
CIE-LCHlch(78.89, 43.94, 122.84°)
OKLaboklab(80.97% -0.0654 0.0905)
OKLCHoklch(80.97% 0.112 125.9)
XYZxyz(43.4518, 54.7369, 27.6742)
Luminance0.5474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE7D #9C7DCE
analogous
#CEC47D #AFCE7D #87CE7D
triadic
#AFCE7D #7DAFCE #CE7DAF
tetradic
#AFCE7D #7DCEC4 #9C7DCE #CE7D87
square
#AFCE7D #7DCEC4 #9C7DCE #CE7D87
split-complementary
#AFCE7D #7D87CE #C47DCE
monochromatic
#739739 #94BD51 #AFCE7D #CADFA9 #E6F0D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCE7D#FFFFFF#000000##000000
##AFCE7D1.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)
#D6C477
Deuteranopia (green-blind)
#D2C381
Tritanopia (blue-blind)
#B4C7BA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afce7d;
/* rgb */ color: rgb(175, 206, 125);
/* oklch */ color: oklch(81.0% 0.112 125.9);
Tailwind
colors: {
  custom: {
    50: '#c8dda3',
    500: '#afce7d',
    950: '#000000',
  },
}
SCSS
$custom: #afce7d;
$custom-light: #c8dda3;
$custom-dark: #000000;
JSON
{
  "hex": "#afce7d",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 125
  },
  "hsl": {
    "h": 82.963,
    "s": 45.251,
    "l": 64.902
  },
  "oklch": {
    "l": 0.80966,
    "c": 0.11171,
    "h": 125.9
  },
  "luminance": 0.54737
}

Semantic roles & 50–950 ramp

primary
#AFCE7D
secondary
#6F529D
accent
#2DB862
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCE7D

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

Preview Lab → · Contrast checker → · Palette generator →

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