#AFC78D#AFC78D

#AFC78D is a light, moderate yellow-green. Relative luminance 0.519; OKLCH L 79.7% C 0.083 H 126.5°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#AFC78D
RGBrgb(175, 199, 141)
HSLhsl(85, 34%, 67%)
HSVhsv(85, 29%, 78%)
CMYKcmyk(12.1%, 0%, 29.1%, 22%)
CIE-LABlab(77.21, -18.20, 26.44)
CIE-LCHlch(77.21, 32.10, 124.55°)
OKLaboklab(79.71% -0.0491 0.0664)
OKLCHoklch(79.71% 0.083 126.5)
XYZxyz(42.9097, 51.8836, 32.9481)
Luminance0.5188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC78D #A58DC7
analogous
#C7C28D #AFC78D #92C78D
triadic
#AFC78D #8DAFC7 #C78DAF
tetradic
#AFC78D #8DC7C2 #A58DC7 #C78D92
square
#AFC78D #8DC7C2 #A58DC7 #C78D92
split-complementary
#AFC78D #8D92C7 #C28DC7
monochromatic
#739248 #92B364 #AFC78D #CCDBB6 #E9EFDF

Accessibility & contrast

On white

1.85
#AFC78D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#AFC78D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC78D
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC78D#FFFFFF#000000##000000
##AFC78D1.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDC089
Deuteranopia (green-blind)
#CABE90
Tritanopia (blue-blind)
#B2C2B8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afc78d;
/* rgb */ color: rgb(175, 199, 141);
/* oklch */ color: oklch(79.7% 0.083 126.5);
Tailwind
colors: {
  custom: {
    50: '#c7d8ae',
    500: '#afc78d',
    950: '#000000',
  },
}
SCSS
$custom: #afc78d;
$custom-light: #c7d8ae;
$custom-dark: #000000;
JSON
{
  "hex": "#afc78d",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 141
  },
  "hsl": {
    "h": 84.828,
    "s": 34.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.79708,
    "c": 0.0826,
    "h": 126.5
  },
  "luminance": 0.51884
}

Semantic roles & 50–950 ramp

primary
#AFC78D
secondary
#775E9A
accent
#39AD69
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131410
muted
#828381

Preview Lab

Preview with #AFC78D

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

Preview Lab → · Contrast checker → · Palette generator →

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