#AFCA79#AFCA79

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

Color values

HEX#AFCA79
RGBrgb(175, 202, 121)
HSLhsl(80, 43%, 63%)
HSVhsv(80, 40%, 79%)
CMYKcmyk(13.4%, 0%, 40.1%, 20.8%)
CIE-LABlab(77.72, -22.36, 37.44)
CIE-LCHlch(77.72, 43.61, 120.85°)
OKLaboklab(80.01% -0.0615 0.0916)
OKLCHoklch(80.01% 0.11 123.9)
XYZxyz(42.2507, 52.7353, 26.0385)
Luminance0.5273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA79 #9479CA
analogous
#CABC79 #AFCA79 #86CA79
triadic
#AFCA79 #79AFCA #CA79AF
tetradic
#AFCA79 #79CABC #9479CA #CA7986
square
#AFCA79 #79CABC #9479CA #CA7986
split-complementary
#AFCA79 #7986CA #BC79CA
monochromatic
#739039 #95B94D #AFCA79 #C9DBA5 #E3EDD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCA79#FFFFFF#000000##000000
##AFCA791.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)
#D2C173
Deuteranopia (green-blind)
#CFC07D
Tritanopia (blue-blind)
#B4C3B6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afca79;
/* rgb */ color: rgb(175, 202, 121);
/* oklch */ color: oklch(80.0% 0.110 123.9);
Tailwind
colors: {
  custom: {
    50: '#c8daa1',
    500: '#afca79',
    950: '#000000',
  },
}
SCSS
$custom: #afca79;
$custom-light: #c8daa1;
$custom-dark: #000000;
JSON
{
  "hex": "#afca79",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 121
  },
  "hsl": {
    "h": 80,
    "s": 43.316,
    "l": 63.333
  },
  "oklch": {
    "l": 0.80008,
    "c": 0.11034,
    "h": 123.9
  },
  "luminance": 0.52735
}

Semantic roles & 50–950 ramp

primary
#AFCA79
secondary
#685197
accent
#2FB65C
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140F
muted
#828380

Preview Lab

Preview with #AFCA79

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

Preview Lab → · Contrast checker → · Palette generator →

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