#AFCF77#AFCF77

#AFCF77 is a light, moderate yellow-green. Relative luminance 0.551; OKLCH L 81.1% C 0.120 H 125.3°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#AFCF77
RGBrgb(175, 207, 119)
HSLhsl(82, 48%, 64%)
HSVhsv(82, 43%, 81%)
CMYKcmyk(15.5%, 0%, 42.5%, 18.8%)
CIE-LABlab(79.08, -25.05, 40.18)
CIE-LCHlch(79.08, 47.35, 121.94°)
OKLaboklab(81.09% -0.0692 0.0977)
OKLCHoklch(81.09% 0.12 125.3)
XYZxyz(43.3216, 55.0712, 25.7967)
Luminance0.5507 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF77 #9777CF
analogous
#CFC377 #AFCF77 #83CF77
triadic
#AFCF77 #77AFCF #CF77AF
tetradic
#AFCF77 #77CFC3 #9777CF #CF7783
square
#AFCF77 #77CFC3 #9777CF #CF7783
split-complementary
#AFCF77 #7783CF #C377CF
monochromatic
#739635 #94BF4A #AFCF77 #CADFA4 #E4EFD1

Accessibility & contrast

On white

1.75
#AFCF77 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#AFCF77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF77
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF77#FFFFFF#000000##000000
##AFCF771.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C570
Deuteranopia (green-blind)
#D3C37C
Tritanopia (blue-blind)
#B4C8BA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afcf77;
/* rgb */ color: rgb(175, 207, 119);
/* oklch */ color: oklch(81.1% 0.120 125.3);
Tailwind
colors: {
  custom: {
    50: '#c8dd9f',
    500: '#afcf77',
    950: '#000000',
  },
}
SCSS
$custom: #afcf77;
$custom-light: #c8dd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf77",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 119
  },
  "hsl": {
    "h": 81.818,
    "s": 47.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.81093,
    "c": 0.11974,
    "h": 125.3
  },
  "luminance": 0.55072
}

Semantic roles & 50–950 ramp

primary
#AFCF77
secondary
#6A4E9C
accent
#2ABB5F
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCF77

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

Preview Lab → · Contrast checker → · Palette generator →

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