#AFC679#AFC679

#AFC679 is a light, moderate yellow-green. Relative luminance 0.509; OKLCH L 79.1% C 0.105 H 122.4°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#AFC679
RGBrgb(175, 198, 121)
HSLhsl(78, 40%, 63%)
HSVhsv(78, 39%, 78%)
CMYKcmyk(11.6%, 0%, 38.9%, 22.4%)
CIE-LABlab(76.61, -20.39, 36.02)
CIE-LCHlch(76.61, 41.39, 119.51°)
OKLaboklab(79.12% -0.056 0.0883)
OKLCHoklch(79.12% 0.105 122.4)
XYZxyz(41.3243, 50.8826, 25.7297)
Luminance0.5088 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC679 #9079C6
analogous
#C6B679 #AFC679 #89C679
triadic
#AFC679 #79AFC6 #C679AF
tetradic
#AFC679 #79C6B6 #9079C6 #C67989
square
#AFC679 #79C6B6 #9079C6 #C67989
split-complementary
#AFC679 #7989C6 #B679C6
monochromatic
#728A3B #95B44E #AFC679 #C9D8A4 #E2EBCF

Accessibility & contrast

On white

1.88
#AFC679 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#AFC679 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC679
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC679#FFFFFF#000000##000000
##AFC6791.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBE73
Deuteranopia (green-blind)
#CBBD7D
Tritanopia (blue-blind)
#B5BFB3
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #afc679;
/* rgb */ color: rgb(175, 198, 121);
/* oklch */ color: oklch(79.1% 0.105 122.4);
Tailwind
colors: {
  custom: {
    50: '#c8d7a0',
    500: '#afc679',
    950: '#000000',
  },
}
SCSS
$custom: #afc679;
$custom-light: #c8d7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afc679",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 121
  },
  "hsl": {
    "h": 77.922,
    "s": 40.314,
    "l": 62.549
  },
  "oklch": {
    "l": 0.79119,
    "c": 0.10456,
    "h": 122.4
  },
  "luminance": 0.50883
}

Semantic roles & 50–950 ramp

primary
#AFC679
secondary
#655292
accent
#32B359
background
#FDFEFC
surface
#F9FBF5
border
#D2D4CF
text
#13140F
muted
#828380

Preview Lab

Preview with #AFC679

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

Preview Lab → · Contrast checker → · Palette generator →

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