#AFCF7D#AFCF7D

#AFCF7D is a light, moderate yellow-green. Relative luminance 0.552; OKLCH L 81.2% C 0.113 H 126.2°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#AFCF7D
RGBrgb(175, 207, 125)
HSLhsl(83, 46%, 65%)
HSVhsv(83, 40%, 81%)
CMYKcmyk(15.5%, 0%, 39.6%, 18.8%)
CIE-LABlab(79.17, -24.32, 37.27)
CIE-LCHlch(79.17, 44.50, 123.12°)
OKLaboklab(81.19% -0.0668 0.0914)
OKLCHoklch(81.19% 0.113 126.2)
XYZxyz(43.6933, 55.2199, 27.7547)
Luminance0.5522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF7D #9D7DCF
analogous
#CFC67D #AFCF7D #86CF7D
triadic
#AFCF7D #7DAFCF #CF7DAF
tetradic
#AFCF7D #7DCFC6 #9D7DCF #CF7D86
square
#AFCF7D #7DCFC6 #9D7DCF #CF7D86
split-complementary
#AFCF7D #7D86CF #C67DCF
monochromatic
#739939 #93BE50 #AFCF7D #CBE0AA #E6F0D6

Accessibility & contrast

On white

1.74
#AFCF7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#AFCF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF7D
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF7D#FFFFFF#000000##000000
##AFCF7D1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C577
Deuteranopia (green-blind)
#D2C481
Tritanopia (blue-blind)
#B4C8BB
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afcf7d;
/* rgb */ color: rgb(175, 207, 125);
/* oklch */ color: oklch(81.2% 0.113 126.2);
Tailwind
colors: {
  custom: {
    50: '#c8dda4',
    500: '#afcf7d',
    950: '#000000',
  },
}
SCSS
$custom: #afcf7d;
$custom-light: #c8dda4;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf7d",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 125
  },
  "hsl": {
    "h": 83.415,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.8119,
    "c": 0.11318,
    "h": 126.2
  },
  "luminance": 0.5522
}

Semantic roles & 50–950 ramp

primary
#AFCF7D
secondary
#70519F
accent
#2CB963
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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