#AFCD78#AFCD78

#AFCD78 is a light, moderate yellow-green. Relative luminance 0.541; OKLCH L 80.7% C 0.116 H 124.8°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#AFCD78
RGBrgb(175, 205, 120)
HSLhsl(81, 46%, 64%)
HSVhsv(81, 41%, 80%)
CMYKcmyk(14.6%, 0%, 41.5%, 19.6%)
CIE-LABlab(78.54, -23.95, 38.99)
CIE-LCHlch(78.54, 45.76, 121.56°)
OKLaboklab(80.66% -0.0661 0.0951)
OKLCHoklch(80.66% 0.116 124.8)
XYZxyz(42.9005, 54.1324, 25.9541)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD78 #9678CD
analogous
#CDC078 #AFCD78 #84CD78
triadic
#AFCD78 #78AFCD #CD78AF
tetradic
#AFCD78 #78CDC0 #9678CD #CD7884
square
#AFCD78 #78CDC0 #9678CD #CD7884
split-complementary
#AFCD78 #7884CD #C078CD
monochromatic
#739437 #95BC4B #AFCD78 #C9DEA5 #E4EED1

Accessibility & contrast

On white

1.78
#AFCD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#AFCD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD78
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD78#FFFFFF#000000##000000
##AFCD781.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C371
Deuteranopia (green-blind)
#D1C27C
Tritanopia (blue-blind)
#B4C6B8
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcd78;
/* rgb */ color: rgb(175, 205, 120);
/* oklch */ color: oklch(80.7% 0.116 124.8);
Tailwind
colors: {
  custom: {
    50: '#c8dca0',
    500: '#afcd78',
    950: '#000000',
  },
}
SCSS
$custom: #afcd78;
$custom-light: #c8dca0;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd78",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 120
  },
  "hsl": {
    "h": 81.176,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.80662,
    "c": 0.11577,
    "h": 124.8
  },
  "luminance": 0.54133
}

Semantic roles & 50–950 ramp

primary
#AFCD78
secondary
#6A4F9A
accent
#2CB95E
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCD78

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

Preview Lab → · Contrast checker → · Palette generator →

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