#AFCF6B#AFCF6B

#AFCF6B is a light, vivid yellow-green. Relative luminance 0.548; OKLCH L 80.9% C 0.132 H 123.9°. Best body text is #000000 at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#AFCF6B
RGBrgb(175, 207, 107)
HSLhsl(79, 51%, 62%)
HSVhsv(79, 48%, 81%)
CMYKcmyk(15.5%, 0%, 48.3%, 18.8%)
CIE-LABlab(78.93, -26.39, 45.89)
CIE-LCHlch(78.93, 52.93, 119.90°)
OKLaboklab(80.92% -0.0738 0.1097)
OKLCHoklch(80.92% 0.132 123.9)
XYZxyz(42.6459, 54.8009, 22.2380)
Luminance0.5480 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF6B #8B6BCF
analogous
#CFBD6B #AFCF6B #7DCF6B
triadic
#AFCF6B #6BAFCF #CF6BAF
tetradic
#AFCF6B #6BCFBD #8B6BCF #CF6B7D
square
#AFCF6B #6BCFBD #8B6BCF #CF6B7D
split-complementary
#AFCF6B #6B7DCF #BD6BCF
monochromatic
#71912F #96BF3E #AFCF6B #C8DE99 #E1EDC7

Accessibility & contrast

On white

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

On black

11.96
#AFCF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF6B
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF6B#FFFFFF#000000##000000
##AFCF6B1.001.7611.9611.96
#FFFFFF1.761.0021.0021.00
#00000011.9621.001.001.00
##00000011.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C462
Deuteranopia (green-blind)
#D4C371
Tritanopia (blue-blind)
#B5C7B8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf6b;
/* rgb */ color: rgb(175, 207, 107);
/* oklch */ color: oklch(80.9% 0.132 123.9);
Tailwind
colors: {
  custom: {
    50: '#c8dd97',
    500: '#afcf6b',
    950: '#000000',
  },
}
SCSS
$custom: #afcf6b;
$custom-light: #c8dd97;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf6b",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 107
  },
  "hsl": {
    "h": 79.2,
    "s": 51.02,
    "l": 61.569
  },
  "oklch": {
    "l": 0.80917,
    "c": 0.13226,
    "h": 123.9
  },
  "luminance": 0.54801
}

Semantic roles & 50–950 ramp

primary
#AFCF6B
secondary
#614797
accent
#27BE58
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFCF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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