#AFC78F#AFC78F

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

Color values

HEX#AFC78F
RGBrgb(175, 199, 143)
HSLhsl(86, 33%, 67%)
HSVhsv(86, 28%, 78%)
CMYKcmyk(12.1%, 0%, 28.1%, 22%)
CIE-LABlab(77.25, -17.91, 25.43)
CIE-LCHlch(77.25, 31.11, 125.16°)
OKLaboklab(79.75% -0.0482 0.0641)
OKLCHoklch(79.75% 0.08 127)
XYZxyz(43.0599, 51.9437, 33.7389)
Luminance0.5194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC78F #A78FC7
analogous
#C7C38F #AFC78F #93C78F
triadic
#AFC78F #8FAFC7 #C78FAF
tetradic
#AFC78F #8FC7C3 #A78FC7 #C78F93
square
#AFC78F #8FC7C3 #A78FC7 #C78F93
split-complementary
#AFC78F #8F93C7 #C38FC7
monochromatic
#739249 #92B366 #AFC78F #CCDBB8 #E9F0E1

Accessibility & contrast

On white

1.84
#AFC78F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.39
#AFC78F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC78F
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC78F#FFFFFF#000000##000000
##AFC78F1.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afc78f;
/* rgb */ color: rgb(175, 199, 143);
/* oklch */ color: oklch(79.7% 0.080 127.0);
Tailwind
colors: {
  custom: {
    50: '#c7d8b0',
    500: '#afc78f',
    950: '#000000',
  },
}
SCSS
$custom: #afc78f;
$custom-light: #c7d8b0;
$custom-dark: #000000;
JSON
{
  "hex": "#afc78f",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 143
  },
  "hsl": {
    "h": 85.714,
    "s": 33.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.79749,
    "c": 0.0802,
    "h": 127
  },
  "luminance": 0.51944
}

Semantic roles & 50–950 ramp

primary
#AFC78F
secondary
#79609A
accent
#39AC6B
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131410
muted
#828381

Preview Lab

Preview with #AFC78F

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

Preview Lab → · Contrast checker → · Palette generator →

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