#AFCA80#AFCA80

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

Color values

HEX#AFCA80
RGBrgb(175, 202, 128)
HSLhsl(82, 41%, 65%)
HSVhsv(82, 37%, 79%)
CMYKcmyk(13.4%, 0%, 36.6%, 20.8%)
CIE-LABlab(77.82, -21.48, 34.01)
CIE-LCHlch(77.82, 40.22, 122.28°)
OKLaboklab(80.13% -0.0587 0.0839)
OKLCHoklch(80.13% 0.102 125)
XYZxyz(42.6957, 52.9133, 28.3818)
Luminance0.5291 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA80 #9B80CA
analogous
#CAC080 #AFCA80 #8ACA80
triadic
#AFCA80 #80AFCA #CA80AF
tetradic
#AFCA80 #80CAC0 #9B80CA #CA808A
square
#AFCA80 #80CAC0 #9B80CA #CA808A
split-complementary
#AFCA80 #808ACA #C080CA
monochromatic
#73923D #94B855 #AFCA80 #CADCAB #E5EED6

Accessibility & contrast

On white

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

On black

11.58
#AFCA80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA80
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA80#FFFFFF#000000##000000
##AFCA801.001.8111.5811.58
#FFFFFF1.811.0021.0021.00
#00000011.5821.001.001.00
##00000011.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C17B
Deuteranopia (green-blind)
#CEC084
Tritanopia (blue-blind)
#B4C3B7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afca80;
/* rgb */ color: rgb(175, 202, 128);
/* oklch */ color: oklch(80.1% 0.102 125.0);
Tailwind
colors: {
  custom: {
    50: '#c8daa5',
    500: '#afca80',
    950: '#000000',
  },
}
SCSS
$custom: #afca80;
$custom-light: #c8daa5;
$custom-dark: #000000;
JSON
{
  "hex": "#afca80",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 128
  },
  "hsl": {
    "h": 81.892,
    "s": 41.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.80127,
    "c": 0.10243,
    "h": 125
  },
  "luminance": 0.52914
}

Semantic roles & 50–950 ramp

primary
#AFCA80
secondary
#6E5599
accent
#31B461
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#13140F
muted
#828380

Preview Lab

Preview with #AFCA80

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

Preview Lab → · Contrast checker → · Palette generator →

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