#AFCA71#AFCA71

#AFCA71 is a light, moderate yellow-green. Relative luminance 0.525; OKLCH L 79.9% C 0.119 H 122.9°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#AFCA71
RGBrgb(175, 202, 113)
HSLhsl(78, 46%, 62%)
HSVhsv(78, 44%, 79%)
CMYKcmyk(13.4%, 0%, 44.1%, 20.8%)
CIE-LABlab(77.61, -23.31, 41.32)
CIE-LCHlch(77.61, 47.44, 119.42°)
OKLaboklab(79.88% -0.0647 0.1)
OKLCHoklch(79.88% 0.119 122.9)
XYZxyz(41.7803, 52.5472, 23.5611)
Luminance0.5255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA71 #8C71CA
analogous
#CAB971 #AFCA71 #83CA71
triadic
#AFCA71 #71AFCA #CA71AF
tetradic
#AFCA71 #71CAB9 #8C71CA #CA7183
square
#AFCA71 #71CAB9 #8C71CA #CA7183
split-complementary
#AFCA71 #7183CA #B971CA
monochromatic
#728C34 #96B945 #AFCA71 #C8DB9E #E1EBCA

Accessibility & contrast

On white

1.82
#AFCA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#AFCA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA71
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA71#FFFFFF#000000##000000
##AFCA711.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C06A
Deuteranopia (green-blind)
#D0C076
Tritanopia (blue-blind)
#B5C2B5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afca71;
/* rgb */ color: rgb(175, 202, 113);
/* oklch */ color: oklch(79.9% 0.119 122.9);
Tailwind
colors: {
  custom: {
    50: '#c8da9b',
    500: '#afca71',
    950: '#000000',
  },
}
SCSS
$custom: #afca71;
$custom-light: #c8da9b;
$custom-dark: #000000;
JSON
{
  "hex": "#afca71",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 113
  },
  "hsl": {
    "h": 78.202,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.79883,
    "c": 0.11907,
    "h": 122.9
  },
  "luminance": 0.52547
}

Semantic roles & 50–950 ramp

primary
#AFCA71
secondary
#624C93
accent
#2DB957
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFCA71

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

Preview Lab → · Contrast checker → · Palette generator →

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