#AFCA7A#AFCA7A

#AFCA7A is a light, moderate yellow-green. Relative luminance 0.528; OKLCH L 80.0% C 0.109 H 124.0°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#AFCA7A
RGBrgb(175, 202, 122)
HSLhsl(80, 43%, 64%)
HSVhsv(80, 40%, 79%)
CMYKcmyk(13.4%, 0%, 39.6%, 20.8%)
CIE-LABlab(77.73, -22.24, 36.95)
CIE-LCHlch(77.73, 43.13, 121.04°)
OKLaboklab(80.03% -0.0611 0.0905)
OKLCHoklch(80.03% 0.109 124)
XYZxyz(42.3124, 52.7600, 26.3631)
Luminance0.5276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA7A #957ACA
analogous
#CABD7A #AFCA7A #87CA7A
triadic
#AFCA7A #7AAFCA #CA7AAF
tetradic
#AFCA7A #7ACABD #957ACA #CA7A87
square
#AFCA7A #7ACABD #957ACA #CA7A87
split-complementary
#AFCA7A #7A87CA #BD7ACA
monochromatic
#739039 #95B94E #AFCA7A #C9DBA6 #E4EDD2

Accessibility & contrast

On white

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

On black

11.55
#AFCA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA7A
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA7A#FFFFFF#000000##000000
##AFCA7A1.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C174
Deuteranopia (green-blind)
#CFC07E
Tritanopia (blue-blind)
#B4C3B6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afca7a;
/* rgb */ color: rgb(175, 202, 122);
/* oklch */ color: oklch(80.0% 0.109 124.0);
Tailwind
colors: {
  custom: {
    50: '#c8daa1',
    500: '#afca7a',
    950: '#000000',
  },
}
SCSS
$custom: #afca7a;
$custom-light: #c8daa1;
$custom-dark: #000000;
JSON
{
  "hex": "#afca7a",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 122
  },
  "hsl": {
    "h": 80.25,
    "s": 43.011,
    "l": 63.529
  },
  "oklch": {
    "l": 0.80025,
    "c": 0.10922,
    "h": 124
  },
  "luminance": 0.5276
}

Semantic roles & 50–950 ramp

primary
#AFCA7A
secondary
#695197
accent
#2FB65D
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140F
muted
#828380

Preview Lab

Preview with #AFCA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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