#AFCA7B#AFCA7B

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

Color values

HEX#AFCA7B
RGBrgb(175, 202, 123)
HSLhsl(81, 43%, 64%)
HSVhsv(81, 39%, 79%)
CMYKcmyk(13.4%, 0%, 39.1%, 20.8%)
CIE-LABlab(77.75, -22.12, 36.46)
CIE-LCHlch(77.75, 42.65, 121.24°)
OKLaboklab(80.04% -0.0607 0.0894)
OKLCHoklch(80.04% 0.108 124.2)
XYZxyz(42.3746, 52.7849, 26.6911)
Luminance0.5279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA7B #967BCA
analogous
#CABD7B #AFCA7B #87CA7B
triadic
#AFCA7B #7BAFCA #CA7BAF
tetradic
#AFCA7B #7BCABD #967BCA #CA7B87
square
#AFCA7B #7BCABD #967BCA #CA7B87
split-complementary
#AFCA7B #7B87CA #BD7BCA
monochromatic
#73913A #95B84F #AFCA7B #C9DCA7 #E4EDD2

Accessibility & contrast

On white

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

On black

11.56
#AFCA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA7B
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA7B#FFFFFF#000000##000000
##AFCA7B1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afca7b;
/* rgb */ color: rgb(175, 202, 123);
/* oklch */ color: oklch(80.0% 0.108 124.2);
Tailwind
colors: {
  custom: {
    50: '#c8daa2',
    500: '#afca7b',
    950: '#000000',
  },
}
SCSS
$custom: #afca7b;
$custom-light: #c8daa2;
$custom-dark: #000000;
JSON
{
  "hex": "#afca7b",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 123
  },
  "hsl": {
    "h": 80.506,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.80041,
    "c": 0.10811,
    "h": 124.2
  },
  "luminance": 0.52785
}

Semantic roles & 50–950 ramp

primary
#AFCA7B
secondary
#6A5297
accent
#30B65E
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140F
muted
#828380

Preview Lab

Preview with #AFCA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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