#AFCE78#AFCE78

#AFCE78 is a light, moderate yellow-green. Relative luminance 0.546; OKLCH L 80.9% C 0.117 H 125.1°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#AFCE78
RGBrgb(175, 206, 120)
HSLhsl(82, 47%, 64%)
HSVhsv(82, 42%, 81%)
CMYKcmyk(15%, 0%, 41.7%, 19.2%)
CIE-LABlab(78.82, -24.44, 39.34)
CIE-LCHlch(78.82, 46.32, 121.85°)
OKLaboklab(80.88% -0.0674 0.0959)
OKLCHoklch(80.88% 0.117 125.1)
XYZxyz(43.1404, 54.6123, 26.0341)
Luminance0.5461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE78 #9778CE
analogous
#CEC278 #AFCE78 #84CE78
triadic
#AFCE78 #78AFCE #CE78AF
tetradic
#AFCE78 #78CEC2 #9778CE #CE7884
square
#AFCE78 #78CEC2 #9778CE #CE7884
split-complementary
#AFCE78 #7884CE #C278CE
monochromatic
#739536 #94BE4B #AFCE78 #CADEA5 #E4EFD2

Accessibility & contrast

On white

1.76
#AFCE78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#AFCE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE78
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE78#FFFFFF#000000##000000
##AFCE781.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C471
Deuteranopia (green-blind)
#D2C37D
Tritanopia (blue-blind)
#B4C7B9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afce78;
/* rgb */ color: rgb(175, 206, 120);
/* oklch */ color: oklch(80.9% 0.117 125.1);
Tailwind
colors: {
  custom: {
    50: '#c8dda0',
    500: '#afce78',
    950: '#000000',
  },
}
SCSS
$custom: #afce78;
$custom-light: #c8dda0;
$custom-dark: #000000;
JSON
{
  "hex": "#afce78",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 120
  },
  "hsl": {
    "h": 81.628,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.80885,
    "c": 0.11721,
    "h": 125.1
  },
  "luminance": 0.54613
}

Semantic roles & 50–950 ramp

primary
#AFCE78
secondary
#6A4F9B
accent
#2CBA5F
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCE78

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

Preview Lab → · Contrast checker → · Palette generator →

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