#AFCA81#AFCA81

#AFCA81 is a light, moderate yellow-green. Relative luminance 0.529; OKLCH L 80.1% C 0.101 H 125.1°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#AFCA81
RGBrgb(175, 202, 129)
HSLhsl(82, 41%, 65%)
HSVhsv(82, 36%, 79%)
CMYKcmyk(13.4%, 0%, 36.1%, 20.8%)
CIE-LABlab(77.84, -21.35, 33.51)
CIE-LCHlch(77.84, 39.74, 122.50°)
OKLaboklab(80.15% -0.0583 0.0828)
OKLCHoklch(80.15% 0.101 125.1)
XYZxyz(42.7618, 52.9398, 28.7302)
Luminance0.5294 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA81 #9C81CA
analogous
#CAC181 #AFCA81 #8ACA81
triadic
#AFCA81 #81AFCA #CA81AF
tetradic
#AFCA81 #81CAC1 #9C81CA #CA818A
square
#AFCA81 #81CAC1 #9C81CA #CA818A
split-complementary
#AFCA81 #818ACA #C181CA
monochromatic
#73933E #94B856 #AFCA81 #CADCAC #E6EED7

Accessibility & contrast

On white

1.81
#AFCA81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.59
#AFCA81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA81
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA81#FFFFFF#000000##000000
##AFCA811.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C17C
Deuteranopia (green-blind)
#CEC085
Tritanopia (blue-blind)
#B4C3B8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afca81;
/* rgb */ color: rgb(175, 202, 129);
/* oklch */ color: oklch(80.1% 0.101 125.1);
Tailwind
colors: {
  custom: {
    50: '#c8daa6',
    500: '#afca81',
    950: '#000000',
  },
}
SCSS
$custom: #afca81;
$custom-light: #c8daa6;
$custom-dark: #000000;
JSON
{
  "hex": "#afca81",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 129
  },
  "hsl": {
    "h": 82.192,
    "s": 40.782,
    "l": 64.902
  },
  "oklch": {
    "l": 0.80145,
    "c": 0.10128,
    "h": 125.1
  },
  "luminance": 0.5294
}

Semantic roles & 50–950 ramp

primary
#AFCA81
secondary
#6F559A
accent
#32B462
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#13140F
muted
#828380

Preview Lab

Preview with #AFCA81

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

Preview Lab → · Contrast checker → · Palette generator →

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