#AFCE8B#AFCE8B

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

Color values

HEX#AFCE8B
RGBrgb(175, 206, 139)
HSLhsl(88, 41%, 68%)
HSVhsv(88, 33%, 81%)
CMYKcmyk(15%, 0%, 32.5%, 19.2%)
CIE-LABlab(79.11, -21.97, 30.02)
CIE-LCHlch(79.11, 37.20, 126.20°)
OKLaboklab(81.22% -0.0597 0.0749)
OKLCHoklch(81.22% 0.096 128.5)
XYZxyz(44.4100, 55.1202, 32.7207)
Luminance0.5512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE8B #AA8BCE
analogous
#CECB8B #AFCE8B #8ECE8B
triadic
#AFCE8B #8BAFCE #CE8BAF
tetradic
#AFCE8B #8BCECB #AA8BCE #CE8B8E
square
#AFCE8B #8BCECB #AA8BCE #CE8B8E
split-complementary
#AFCE8B #8B8ECE #CB8BCE
monochromatic
#739C42 #91BC60 #AFCE8B #CDE0B6 #EAF2E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCE8B#FFFFFF#000000##000000
##AFCE8B1.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)
#D5C586
Deuteranopia (green-blind)
#D0C38E
Tritanopia (blue-blind)
#B2C8BD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afce8b;
/* rgb */ color: rgb(175, 206, 139);
/* oklch */ color: oklch(81.2% 0.096 128.5);
Tailwind
colors: {
  custom: {
    50: '#c7ddad',
    500: '#afce8b',
    950: '#000000',
  },
}
SCSS
$custom: #afce8b;
$custom-light: #c7ddad;
$custom-dark: #000000;
JSON
{
  "hex": "#afce8b",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 139
  },
  "hsl": {
    "h": 87.761,
    "s": 40.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.81216,
    "c": 0.09579,
    "h": 128.5
  },
  "luminance": 0.55121
}

Semantic roles & 50–950 ramp

primary
#AFCE8B
secondary
#7C5BA3
accent
#32B46E
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFCE8B

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

Preview Lab → · Contrast checker → · Palette generator →

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