#AFCA82#AFCA82

#AFCA82 is a light, moderate yellow-green. Relative luminance 0.530; OKLCH L 80.2% C 0.100 H 125.3°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#AFCA82
RGBrgb(175, 202, 130)
HSLhsl(83, 40%, 65%)
HSVhsv(83, 36%, 79%)
CMYKcmyk(13.4%, 0%, 35.6%, 20.8%)
CIE-LABlab(77.86, -21.22, 33.02)
CIE-LCHlch(77.86, 39.25, 122.73°)
OKLaboklab(80.16% -0.0579 0.0817)
OKLCHoklch(80.16% 0.1 125.3)
XYZxyz(42.8286, 52.9665, 29.0820)
Luminance0.5297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA82 #9D82CA
analogous
#CAC182 #AFCA82 #8BCA82
triadic
#AFCA82 #82AFCA #CA82AF
tetradic
#AFCA82 #82CAC1 #9D82CA #CA828B
square
#AFCA82 #82CAC1 #9D82CA #CA828B
split-complementary
#AFCA82 #828BCA #C182CA
monochromatic
#73933E #93B857 #AFCA82 #CBDCAD #E6EED8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCA82#FFFFFF#000000##000000
##AFCA821.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)
#D2C17D
Deuteranopia (green-blind)
#CEC086
Tritanopia (blue-blind)
#B3C4B8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afca82;
/* rgb */ color: rgb(175, 202, 130);
/* oklch */ color: oklch(80.2% 0.100 125.3);
Tailwind
colors: {
  custom: {
    50: '#c8daa7',
    500: '#afca82',
    950: '#000000',
  },
}
SCSS
$custom: #afca82;
$custom-light: #c8daa7;
$custom-dark: #000000;
JSON
{
  "hex": "#afca82",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 130
  },
  "hsl": {
    "h": 82.5,
    "s": 40.449,
    "l": 65.098
  },
  "oklch": {
    "l": 0.80163,
    "c": 0.10014,
    "h": 125.3
  },
  "luminance": 0.52967
}

Semantic roles & 50–950 ramp

primary
#AFCA82
secondary
#70569A
accent
#32B363
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#13140F
muted
#828380

Preview Lab

Preview with #AFCA82

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

Preview Lab → · Contrast checker → · Palette generator →

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