#AFCE8A#AFCE8A

#AFCE8A is a light, moderate yellow-green. Relative luminance 0.551; OKLCH L 81.2% C 0.097 H 128.3°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#AFCE8A
RGBrgb(175, 206, 138)
HSLhsl(87, 41%, 67%)
HSVhsv(87, 33%, 81%)
CMYKcmyk(15%, 0%, 33%, 19.2%)
CIE-LABlab(79.09, -22.11, 30.52)
CIE-LCHlch(79.09, 37.69, 125.93°)
OKLaboklab(81.2% -0.0601 0.0761)
OKLCHoklch(81.2% 0.097 128.3)
XYZxyz(44.3373, 55.0911, 32.3376)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE8A #A98ACE
analogous
#CECB8A #AFCE8A #8DCE8A
triadic
#AFCE8A #8AAFCE #CE8AAF
tetradic
#AFCE8A #8ACECB #A98ACE #CE8A8D
square
#AFCE8A #8ACECB #A98ACE #CE8A8D
split-complementary
#AFCE8A #8A8DCE #CB8ACE
monochromatic
#739C41 #92BC5F #AFCE8A #CCE0B5 #EAF2E0

Accessibility & contrast

On white

1.75
#AFCE8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#AFCE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE8A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE8A#FFFFFF#000000##000000
##AFCE8A1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C585
Deuteranopia (green-blind)
#D0C38D
Tritanopia (blue-blind)
#B2C8BD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afce8a;
/* rgb */ color: rgb(175, 206, 138);
/* oklch */ color: oklch(81.2% 0.097 128.3);
Tailwind
colors: {
  custom: {
    50: '#c7ddac',
    500: '#afce8a',
    950: '#000000',
  },
}
SCSS
$custom: #afce8a;
$custom-light: #c7ddac;
$custom-dark: #000000;
JSON
{
  "hex": "#afce8a",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 138
  },
  "hsl": {
    "h": 87.353,
    "s": 40.964,
    "l": 67.451
  },
  "oklch": {
    "l": 0.81197,
    "c": 0.09695,
    "h": 128.3
  },
  "luminance": 0.55092
}

Semantic roles & 50–950 ramp

primary
#AFCE8A
secondary
#7B5AA2
accent
#31B46D
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFCE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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