#AFCF79#AFCF79

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

Color values

HEX#AFCF79
RGBrgb(175, 207, 121)
HSLhsl(82, 47%, 64%)
HSVhsv(82, 42%, 81%)
CMYKcmyk(15.5%, 0%, 41.5%, 18.8%)
CIE-LABlab(79.11, -24.81, 39.21)
CIE-LCHlch(79.11, 46.40, 122.32°)
OKLaboklab(81.13% -0.0684 0.0956)
OKLCHoklch(81.13% 0.118 125.6)
XYZxyz(43.4429, 55.1197, 26.4359)
Luminance0.5512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF79 #9979CF
analogous
#CFC479 #AFCF79 #84CF79
triadic
#AFCF79 #79AFCF #CF79AF
tetradic
#AFCF79 #79CFC4 #9979CF #CF7984
square
#AFCF79 #79CFC4 #9979CF #CF7984
split-complementary
#AFCF79 #7984CF #C479CF
monochromatic
#739736 #94BF4C #AFCF79 #CADFA6 #E5EFD3

Accessibility & contrast

On white

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

On black

12.02
#AFCF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF79
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF79#FFFFFF#000000##000000
##AFCF791.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcf79;
/* rgb */ color: rgb(175, 207, 121);
/* oklch */ color: oklch(81.1% 0.118 125.6);
Tailwind
colors: {
  custom: {
    50: '#c8dda1',
    500: '#afcf79',
    950: '#000000',
  },
}
SCSS
$custom: #afcf79;
$custom-light: #c8dda1;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf79",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 121
  },
  "hsl": {
    "h": 82.326,
    "s": 47.253,
    "l": 64.314
  },
  "oklch": {
    "l": 0.81125,
    "c": 0.11756,
    "h": 125.6
  },
  "luminance": 0.5512
}

Semantic roles & 50–950 ramp

primary
#AFCF79
secondary
#6C4F9D
accent
#2BBB60
background
#FDFEFC
surface
#F9FCF5
border
#D2D5CF
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCF79

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

Preview Lab → · Contrast checker → · Palette generator →

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