#AFCF6A#AFCF6A

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

Color values

HEX#AFCF6A
RGBrgb(175, 207, 106)
HSLhsl(79, 51%, 61%)
HSVhsv(79, 49%, 81%)
CMYKcmyk(15.5%, 0%, 48.8%, 18.8%)
CIE-LABlab(78.91, -26.49, 46.35)
CIE-LCHlch(78.91, 53.39, 119.75°)
OKLaboklab(80.9% -0.0742 0.1107)
OKLCHoklch(80.9% 0.133 123.8)
XYZxyz(42.5936, 54.7800, 21.9625)
Luminance0.5478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF6A #8A6ACF
analogous
#CFBD6A #AFCF6A #7DCF6A
triadic
#AFCF6A #6AAFCF #CF6AAF
tetradic
#AFCF6A #6ACFBD #8A6ACF #CF6A7D
square
#AFCF6A #6ACFBD #8A6ACF #CF6A7D
split-complementary
#AFCF6A #6A7DCF #BD6ACF
monochromatic
#71902E #96BE3D #AFCF6A #C8DE98 #E1EDC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCF6A#FFFFFF#000000##000000
##AFCF6A1.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)
#D9C461
Deuteranopia (green-blind)
#D4C370
Tritanopia (blue-blind)
#B5C7B8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf6a;
/* rgb */ color: rgb(175, 207, 106);
/* oklch */ color: oklch(80.9% 0.133 123.8);
Tailwind
colors: {
  custom: {
    50: '#c9dd97',
    500: '#afcf6a',
    950: '#000000',
  },
}
SCSS
$custom: #afcf6a;
$custom-light: #c9dd97;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf6a",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 106
  },
  "hsl": {
    "h": 79.01,
    "s": 51.269,
    "l": 61.373
  },
  "oklch": {
    "l": 0.80904,
    "c": 0.13327,
    "h": 123.8
  },
  "luminance": 0.5478
}

Semantic roles & 50–950 ramp

primary
#AFCF6A
secondary
#604796
accent
#27BF57
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150E
muted
#83847F

Preview Lab

Preview with #AFCF6A

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

Preview Lab → · Contrast checker → · Palette generator →

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