#AFCA76#AFCA76

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

Color values

HEX#AFCA76
RGBrgb(175, 202, 118)
HSLhsl(79, 44%, 63%)
HSVhsv(79, 42%, 79%)
CMYKcmyk(13.4%, 0%, 41.6%, 20.8%)
CIE-LABlab(77.68, -22.73, 38.90)
CIE-LCHlch(77.68, 45.05, 120.29°)
OKLaboklab(79.96% -0.0627 0.0948)
OKLCHoklch(79.96% 0.114 123.5)
XYZxyz(42.0696, 52.6629, 25.0846)
Luminance0.5266 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA76 #9176CA
analogous
#CABB76 #AFCA76 #85CA76
triadic
#AFCA76 #76AFCA #CA76AF
tetradic
#AFCA76 #76CABB #9176CA #CA7685
square
#AFCA76 #76CABB #9176CA #CA7685
split-complementary
#AFCA76 #7685CA #BB76CA
monochromatic
#728E37 #95B94A #AFCA76 #C9DBA2 #E3ECCE

Accessibility & contrast

On white

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

On black

11.53
#AFCA76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA76
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA76#FFFFFF#000000##000000
##AFCA761.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C170
Deuteranopia (green-blind)
#CFC07A
Tritanopia (blue-blind)
#B5C3B6
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afca76;
/* rgb */ color: rgb(175, 202, 118);
/* oklch */ color: oklch(80.0% 0.114 123.5);
Tailwind
colors: {
  custom: {
    50: '#c8da9f',
    500: '#afca76',
    950: '#000000',
  },
}
SCSS
$custom: #afca76;
$custom-light: #c8da9f;
$custom-dark: #000000;
JSON
{
  "hex": "#afca76",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 118
  },
  "hsl": {
    "h": 79.286,
    "s": 44.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.7996,
    "c": 0.11365,
    "h": 123.5
  },
  "luminance": 0.52663
}

Semantic roles & 50–950 ramp

primary
#AFCA76
secondary
#654F95
accent
#2EB75A
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140E
muted
#82837F

Preview Lab

Preview with #AFCA76

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

Preview Lab → · Contrast checker → · Palette generator →

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