#AFCF76#AFCF76

#AFCF76 is a light, vivid yellow-green. Relative luminance 0.550; OKLCH L 81.1% C 0.121 H 125.2°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#AFCF76
RGBrgb(175, 207, 118)
HSLhsl(82, 48%, 64%)
HSVhsv(82, 43%, 81%)
CMYKcmyk(15.5%, 0%, 43%, 18.8%)
CIE-LABlab(79.07, -25.16, 40.66)
CIE-LCHlch(79.07, 47.82, 121.75°)
OKLaboklab(81.08% -0.0696 0.0987)
OKLCHoklch(81.08% 0.121 125.2)
XYZxyz(43.2618, 55.0473, 25.4820)
Luminance0.5505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF76 #9676CF
analogous
#CFC276 #AFCF76 #82CF76
triadic
#AFCF76 #76AFCF #CF76AF
tetradic
#AFCF76 #76CFC2 #9676CF #CF7682
square
#AFCF76 #76CFC2 #9676CF #CF7682
split-complementary
#AFCF76 #7682CF #C276CF
monochromatic
#739635 #95BF49 #AFCF76 #C9DFA3 #E4EFD1

Accessibility & contrast

On white

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

On black

12.01
#AFCF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF76
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF76#FFFFFF#000000##000000
##AFCF761.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56F
Deuteranopia (green-blind)
#D3C37B
Tritanopia (blue-blind)
#B4C7BA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afcf76;
/* rgb */ color: rgb(175, 207, 118);
/* oklch */ color: oklch(81.1% 0.121 125.2);
Tailwind
colors: {
  custom: {
    50: '#c8dd9f',
    500: '#afcf76',
    950: '#000000',
  },
}
SCSS
$custom: #afcf76;
$custom-light: #c8dd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf76",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 118
  },
  "hsl": {
    "h": 81.573,
    "s": 48.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.81078,
    "c": 0.1208,
    "h": 125.2
  },
  "luminance": 0.55048
}

Semantic roles & 50–950 ramp

primary
#AFCF76
secondary
#6A4D9C
accent
#2ABB5E
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFCF76

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

Preview Lab → · Contrast checker → · Palette generator →

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