#AFCA77#AFCA77

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

Color values

HEX#AFCA77
RGBrgb(175, 202, 119)
HSLhsl(80, 44%, 63%)
HSVhsv(80, 41%, 79%)
CMYKcmyk(13.4%, 0%, 41.1%, 20.8%)
CIE-LABlab(77.69, -22.61, 38.42)
CIE-LCHlch(77.69, 44.57, 120.47°)
OKLaboklab(79.98% -0.0623 0.0937)
OKLCHoklch(79.98% 0.113 123.6)
XYZxyz(42.1294, 52.6868, 25.3993)
Luminance0.5269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA77 #9277CA
analogous
#CABB77 #AFCA77 #85CA77
triadic
#AFCA77 #77AFCA #CA77AF
tetradic
#AFCA77 #77CABB #9277CA #CA7785
square
#AFCA77 #77CABB #9277CA #CA7785
split-complementary
#AFCA77 #7785CA #BB77CA
monochromatic
#738F38 #95B94B #AFCA77 #C9DBA3 #E3ECCF

Accessibility & contrast

On white

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

On black

11.54
#AFCA77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA77
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA77#FFFFFF#000000##000000
##AFCA771.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afca77;
/* rgb */ color: rgb(175, 202, 119);
/* oklch */ color: oklch(80.0% 0.113 123.6);
Tailwind
colors: {
  custom: {
    50: '#c8da9f',
    500: '#afca77',
    950: '#000000',
  },
}
SCSS
$custom: #afca77;
$custom-light: #c8da9f;
$custom-dark: #000000;
JSON
{
  "hex": "#afca77",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 119
  },
  "hsl": {
    "h": 79.518,
    "s": 43.915,
    "l": 62.941
  },
  "oklch": {
    "l": 0.79976,
    "c": 0.11256,
    "h": 123.6
  },
  "luminance": 0.52687
}

Semantic roles & 50–950 ramp

primary
#AFCA77
secondary
#664F96
accent
#2EB75B
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140F
muted
#828380

Preview Lab

Preview with #AFCA77

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

Preview Lab → · Contrast checker → · Palette generator →

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