#AFCC7E#AFCC7E

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

Color values

HEX#AFCC7E
RGBrgb(175, 204, 126)
HSLhsl(82, 43%, 65%)
HSVhsv(82, 38%, 80%)
CMYKcmyk(14.2%, 0%, 38.2%, 20%)
CIE-LABlab(78.35, -22.73, 35.71)
CIE-LCHlch(78.35, 42.33, 122.47°)
OKLaboklab(80.54% -0.0623 0.0878)
OKLCHoklch(80.54% 0.108 125.4)
XYZxyz(43.0376, 53.8058, 27.8528)
Luminance0.5381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC7E #9B7ECC
analogous
#CCC27E #AFCC7E #88CC7E
triadic
#AFCC7E #7EAFCC #CC7EAF
tetradic
#AFCC7E #7ECCC2 #9B7ECC #CC7E88
square
#AFCC7E #7ECCC2 #9B7ECC #CC7E88
split-complementary
#AFCC7E #7E88CC #C27ECC
monochromatic
#73953B #94BB52 #AFCC7E #CADDAA #E5EFD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCC7E#FFFFFF#000000##000000
##AFCC7E1.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)
#D4C378
Deuteranopia (green-blind)
#D0C182
Tritanopia (blue-blind)
#B4C5B9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcc7e;
/* rgb */ color: rgb(175, 204, 126);
/* oklch */ color: oklch(80.5% 0.108 125.4);
Tailwind
colors: {
  custom: {
    50: '#c8dba4',
    500: '#afcc7e',
    950: '#000000',
  },
}
SCSS
$custom: #afcc7e;
$custom-light: #c8dba4;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc7e",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 126
  },
  "hsl": {
    "h": 82.308,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.80537,
    "c": 0.10766,
    "h": 125.4
  },
  "luminance": 0.53806
}

Semantic roles & 50–950 ramp

primary
#AFCC7E
secondary
#6E539B
accent
#2FB661
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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