#AFCC7D#AFCC7D

#AFCC7D is a light, moderate yellow-green. Relative luminance 0.538; OKLCH L 80.5% C 0.109 H 125.2°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#AFCC7D
RGBrgb(175, 204, 125)
HSLhsl(82, 44%, 65%)
HSVhsv(82, 39%, 80%)
CMYKcmyk(14.2%, 0%, 38.7%, 20%)
CIE-LABlab(78.33, -22.85, 36.20)
CIE-LCHlch(78.33, 42.81, 122.26°)
OKLaboklab(80.52% -0.0627 0.0889)
OKLCHoklch(80.52% 0.109 125.2)
XYZxyz(42.9734, 53.7801, 27.5147)
Luminance0.5378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC7D #9A7DCC
analogous
#CCC17D #AFCC7D #88CC7D
triadic
#AFCC7D #7DAFCC #CC7DAF
tetradic
#AFCC7D #7DCCC1 #9A7DCC #CC7D88
square
#AFCC7D #7DCCC1 #9A7DCC #CC7D88
split-complementary
#AFCC7D #7D88CC #C17DCC
monochromatic
#73943A #94BB51 #AFCC7D #CADDA9 #E5EED5

Accessibility & contrast

On white

1.79
#AFCC7D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#AFCC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC7D
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC7D#FFFFFF#000000##000000
##AFCC7D1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C377
Deuteranopia (green-blind)
#D0C181
Tritanopia (blue-blind)
#B4C5B8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcc7d;
/* rgb */ color: rgb(175, 204, 125);
/* oklch */ color: oklch(80.5% 0.109 125.2);
Tailwind
colors: {
  custom: {
    50: '#c8dba3',
    500: '#afcc7d',
    950: '#000000',
  },
}
SCSS
$custom: #afcc7d;
$custom-light: #c8dba3;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc7d",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 125
  },
  "hsl": {
    "h": 82.025,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8052,
    "c": 0.10878,
    "h": 125.2
  },
  "luminance": 0.5378
}

Semantic roles & 50–950 ramp

primary
#AFCC7D
secondary
#6D529B
accent
#2FB761
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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