#AFB79D#AFB79D

#AFB79D is a light, muted yellow-green. Relative luminance 0.454; OKLCH L 76.6% C 0.037 H 121.2°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#AFB79D
RGBrgb(175, 183, 157)
HSLhsl(78, 15%, 67%)
HSVhsv(78, 14%, 72%)
CMYKcmyk(4.4%, 0%, 14.2%, 28.2%)
CIE-LABlab(73.16, -7.47, 12.29)
CIE-LCHlch(73.16, 14.38, 121.29°)
OKLaboklab(76.6% -0.0192 0.0318)
OKLCHoklch(76.6% 0.037 121.2)
XYZxyz(40.6977, 45.4153, 38.5137)
Luminance0.4541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB79D #A59DB7
analogous
#B7B29D #AFB79D #A2B79D
triadic
#AFB79D #9DAFB7 #B79DAF
tetradic
#AFB79D #9DB7B2 #A59DB7 #B79DA2
square
#AFB79D #9DB7B2 #A59DB7 #B79DA2
split-complementary
#AFB79D #9DA2B7 #B29DB7
monochromatic
#737D5C #929D7A #AFB79D #CCD1C0 #E9EBE4

Accessibility & contrast

On white

2.08
#AFB79D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.08
#AFB79D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB79D
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB79D#FFFFFF#000000##000000
##AFB79D1.002.0810.0810.08
#FFFFFF2.081.0021.0021.00
#00000010.0821.001.001.00
##00000010.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBB49C
Deuteranopia (green-blind)
#BAB49E
Tritanopia (blue-blind)
#B1B4B0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afb79d;
/* rgb */ color: rgb(175, 183, 157);
/* oklch */ color: oklch(76.6% 0.037 121.2);
Tailwind
colors: {
  custom: {
    50: '#c7ccba',
    500: '#afb79d',
    950: '#000000',
  },
}
SCSS
$custom: #afb79d;
$custom-light: #c7ccba;
$custom-dark: #000000;
JSON
{
  "hex": "#afb79d",
  "rgb": {
    "r": 175,
    "g": 183,
    "b": 157
  },
  "hsl": {
    "h": 78.462,
    "s": 15.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.76596,
    "c": 0.03715,
    "h": 121.2
  },
  "luminance": 0.45415
}

Semantic roles & 50–950 ramp

primary
#AFB79D
secondary
#D6D4DC
accent
#4C9964
background
#FCFCFB
surface
#F8F8F6
border
#D1D1D0
text
#131311
muted
#828280

Preview Lab

Preview with #AFB79D

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

Preview Lab → · Contrast checker → · Palette generator →

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