#AFCE6B#AFCE6B

#AFCE6B is a light, vivid yellow-green. Relative luminance 0.543; OKLCH L 80.7% C 0.131 H 123.6°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#AFCE6B
RGBrgb(175, 206, 107)
HSLhsl(79, 50%, 61%)
HSVhsv(79, 48%, 81%)
CMYKcmyk(15%, 0%, 48.1%, 19.2%)
CIE-LABlab(78.65, -25.90, 45.55)
CIE-LCHlch(78.65, 52.40, 119.63°)
OKLaboklab(80.69% -0.0725 0.109)
OKLCHoklch(80.69% 0.131 123.6)
XYZxyz(42.4044, 54.3179, 22.1575)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCE6B #8A6BCE
analogous
#CEBC6B #AFCE6B #7ECE6B
triadic
#AFCE6B #6BAFCE #CE6BAF
tetradic
#AFCE6B #6BCEBC #8A6BCE #CE6B7E
square
#AFCE6B #6BCEBC #8A6BCE #CE6B7E
split-complementary
#AFCE6B #6B7ECE #BC6BCE
monochromatic
#718F2F #96BD3F #AFCE6B #C8DD99 #E1ECC7

Accessibility & contrast

On white

1.77
#AFCE6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#AFCE6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCE6B
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCE6B#FFFFFF#000000##000000
##AFCE6B1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C462
Deuteranopia (green-blind)
#D4C271
Tritanopia (blue-blind)
#B5C6B7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afce6b;
/* rgb */ color: rgb(175, 206, 107);
/* oklch */ color: oklch(80.7% 0.131 123.6);
Tailwind
colors: {
  custom: {
    50: '#c8dd97',
    500: '#afce6b',
    950: '#000000',
  },
}
SCSS
$custom: #afce6b;
$custom-light: #c8dd97;
$custom-dark: #000000;
JSON
{
  "hex": "#afce6b",
  "rgb": {
    "r": 175,
    "g": 206,
    "b": 107
  },
  "hsl": {
    "h": 78.788,
    "s": 50.254,
    "l": 61.373
  },
  "oklch": {
    "l": 0.80692,
    "c": 0.13088,
    "h": 123.6
  },
  "luminance": 0.54318
}

Semantic roles & 50–950 ramp

primary
#AFCE6B
secondary
#604896
accent
#28BE57
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFCE6B

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

Preview Lab → · Contrast checker → · Palette generator →

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