#AFCF72#AFCF72

#AFCF72 is a light, vivid yellow-green. Relative luminance 0.550; OKLCH L 81.0% C 0.125 H 124.7°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#AFCF72
RGBrgb(175, 207, 114)
HSLhsl(81, 49%, 63%)
HSVhsv(81, 45%, 81%)
CMYKcmyk(15.5%, 0%, 44.9%, 18.8%)
CIE-LABlab(79.01, -25.62, 42.58)
CIE-LCHlch(79.01, 49.69, 121.04°)
OKLaboklab(81.02% -0.0712 0.1028)
OKLCHoklch(81.02% 0.125 124.7)
XYZxyz(43.0292, 54.9542, 24.2566)
Luminance0.5495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF72 #9272CF
analogous
#CFC072 #AFCF72 #80CF72
triadic
#AFCF72 #72AFCF #CF72AF
tetradic
#AFCF72 #72CFC0 #9272CF #CF7280
square
#AFCF72 #72CFC0 #9272CF #CF7280
split-complementary
#AFCF72 #7280CF #C072CF
monochromatic
#739432 #95BF44 #AFCF72 #C9DFA0 #E3EECD

Accessibility & contrast

On white

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

On black

11.99
#AFCF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF72
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF72#FFFFFF#000000##000000
##AFCF721.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56A
Deuteranopia (green-blind)
#D4C377
Tritanopia (blue-blind)
#B5C7B9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afcf72;
/* rgb */ color: rgb(175, 207, 114);
/* oklch */ color: oklch(81.0% 0.125 124.7);
Tailwind
colors: {
  custom: {
    50: '#c8dd9c',
    500: '#afcf72',
    950: '#000000',
  },
}
SCSS
$custom: #afcf72;
$custom-light: #c8dd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf72",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 114
  },
  "hsl": {
    "h": 80.645,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.81017,
    "c": 0.12505,
    "h": 124.7
  },
  "luminance": 0.54955
}

Semantic roles & 50–950 ramp

primary
#AFCF72
secondary
#664B9A
accent
#29BD5C
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150E
muted
#82847F

Preview Lab

Preview with #AFCF72

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

Preview Lab → · Contrast checker → · Palette generator →

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