#AFCA73#AFCA73

#AFCA73 is a light, moderate yellow-green. Relative luminance 0.526; OKLCH L 79.9% C 0.117 H 123.1°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#AFCA73
RGBrgb(175, 202, 115)
HSLhsl(79, 45%, 62%)
HSVhsv(79, 43%, 79%)
CMYKcmyk(13.4%, 0%, 43.1%, 20.8%)
CIE-LABlab(77.63, -23.08, 40.36)
CIE-LCHlch(77.63, 46.49, 119.76°)
OKLaboklab(79.91% -0.0639 0.0979)
OKLCHoklch(79.91% 0.117 123.1)
XYZxyz(41.8942, 52.5927, 24.1606)
Luminance0.5259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA73 #8E73CA
analogous
#CABA73 #AFCA73 #83CA73
triadic
#AFCA73 #73AFCA #CA73AF
tetradic
#AFCA73 #73CABA #8E73CA #CA7383
square
#AFCA73 #73CABA #8E73CA #CA7383
split-complementary
#AFCA73 #7383CA #BA73CA
monochromatic
#728D35 #96B947 #AFCA73 #C8DB9F #E2ECCC

Accessibility & contrast

On white

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

On black

11.52
#AFCA73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA73
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA73#FFFFFF#000000##000000
##AFCA731.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C16C
Deuteranopia (green-blind)
#CFC078
Tritanopia (blue-blind)
#B5C2B5
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afca73;
/* rgb */ color: rgb(175, 202, 115);
/* oklch */ color: oklch(79.9% 0.117 123.1);
Tailwind
colors: {
  custom: {
    50: '#c8da9d',
    500: '#afca73',
    950: '#000000',
  },
}
SCSS
$custom: #afca73;
$custom-light: #c8da9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afca73",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 115
  },
  "hsl": {
    "h": 78.621,
    "s": 45.078,
    "l": 62.157
  },
  "oklch": {
    "l": 0.79913,
    "c": 0.11692,
    "h": 123.1
  },
  "luminance": 0.52593
}

Semantic roles & 50–950 ramp

primary
#AFCA73
secondary
#634D94
accent
#2DB858
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFCA73

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

Preview Lab → · Contrast checker → · Palette generator →

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