#AFCA72#AFCA72

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

Color values

HEX#AFCA72
RGBrgb(175, 202, 114)
HSLhsl(78, 45%, 62%)
HSVhsv(78, 44%, 79%)
CMYKcmyk(13.4%, 0%, 43.6%, 20.8%)
CIE-LABlab(77.62, -23.19, 40.84)
CIE-LCHlch(77.62, 46.96, 119.59°)
OKLaboklab(79.9% -0.0643 0.0989)
OKLCHoklch(79.9% 0.118 123)
XYZxyz(41.8369, 52.5698, 23.8592)
Luminance0.5257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA72 #8D72CA
analogous
#CAB972 #AFCA72 #83CA72
triadic
#AFCA72 #72AFCA #CA72AF
tetradic
#AFCA72 #72CAB9 #8D72CA #CA7283
square
#AFCA72 #72CAB9 #8D72CA #CA7283
split-complementary
#AFCA72 #7283CA #B972CA
monochromatic
#728D35 #96B946 #AFCA72 #C8DB9E #E1EBCB

Accessibility & contrast

On white

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

On black

11.51
#AFCA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA72
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA72#FFFFFF#000000##000000
##AFCA721.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afca72;
/* rgb */ color: rgb(175, 202, 114);
/* oklch */ color: oklch(79.9% 0.118 123.0);
Tailwind
colors: {
  custom: {
    50: '#c8da9c',
    500: '#afca72',
    950: '#000000',
  },
}
SCSS
$custom: #afca72;
$custom-light: #c8da9c;
$custom-dark: #000000;
JSON
{
  "hex": "#afca72",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 114
  },
  "hsl": {
    "h": 78.409,
    "s": 45.361,
    "l": 61.961
  },
  "oklch": {
    "l": 0.79898,
    "c": 0.11801,
    "h": 123
  },
  "luminance": 0.5257
}

Semantic roles & 50–950 ramp

primary
#AFCA72
secondary
#624D94
accent
#2DB958
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFCA72

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

Preview Lab → · Contrast checker → · Palette generator →

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