#AFCA7D#AFCA7D

#AFCA7D is a light, moderate yellow-green. Relative luminance 0.528; OKLCH L 80.1% C 0.106 H 124.5°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#AFCA7D
RGBrgb(175, 202, 125)
HSLhsl(81, 42%, 64%)
HSVhsv(81, 38%, 79%)
CMYKcmyk(13.4%, 0%, 38.1%, 20.8%)
CIE-LABlab(77.78, -21.87, 35.48)
CIE-LCHlch(77.78, 41.68, 121.64°)
OKLaboklab(80.08% -0.0599 0.0872)
OKLCHoklch(80.08% 0.106 124.5)
XYZxyz(42.5011, 52.8355, 27.3572)
Luminance0.5284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA7D #987DCA
analogous
#CABF7D #AFCA7D #89CA7D
triadic
#AFCA7D #7DAFCA #CA7DAF
tetradic
#AFCA7D #7DCABF #987DCA #CA7D89
square
#AFCA7D #7DCABF #987DCA #CA7D89
split-complementary
#AFCA7D #7D89CA #BF7DCA
monochromatic
#73913B #94B852 #AFCA7D #CADCA8 #E5EDD4

Accessibility & contrast

On white

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

On black

11.57
#AFCA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA7D
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA7D#FFFFFF#000000##000000
##AFCA7D1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afca7d;
/* rgb */ color: rgb(175, 202, 125);
/* oklch */ color: oklch(80.1% 0.106 124.5);
Tailwind
colors: {
  custom: {
    50: '#c8daa3',
    500: '#afca7d',
    950: '#000000',
  },
}
SCSS
$custom: #afca7d;
$custom-light: #c8daa3;
$custom-dark: #000000;
JSON
{
  "hex": "#afca7d",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 125
  },
  "hsl": {
    "h": 81.039,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.80075,
    "c": 0.10585,
    "h": 124.5
  },
  "luminance": 0.52836
}

Semantic roles & 50–950 ramp

primary
#AFCA7D
secondary
#6B5398
accent
#30B55F
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140F
muted
#828380

Preview Lab

Preview with #AFCA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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