#AFBC79#AFBC79

#AFBC79 is a light, moderate yellow-green. Relative luminance 0.465; OKLCH L 76.9% C 0.090 H 117.5°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#AFBC79
RGBrgb(175, 188, 121)
HSLhsl(72, 33%, 61%)
HSVhsv(72, 36%, 74%)
CMYKcmyk(6.9%, 0%, 35.6%, 26.3%)
CIE-LABlab(73.84, -15.35, 32.45)
CIE-LCHlch(73.84, 35.90, 115.32°)
OKLaboklab(76.91% -0.0417 0.0801)
OKLCHoklch(76.91% 0.09 117.5)
XYZxyz(39.1136, 46.4611, 24.9928)
Luminance0.4646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC79 #8679BC
analogous
#BCA779 #AFBC79 #8DBC79
triadic
#AFBC79 #79AFBC #BC79AF
tetradic
#AFBC79 #79BCA7 #8679BC #BC798D
square
#AFBC79 #79BCA7 #8679BC #BC798D
split-complementary
#AFBC79 #798DBC #A779BC
monochromatic
#707C3E #95A553 #AFBC79 #C7D0A2 #E0E5CB

Accessibility & contrast

On white

2.04
#AFBC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#AFBC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC79
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC79#FFFFFF#000000##000000
##AFBC791.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B574
Deuteranopia (green-blind)
#C3B67C
Tritanopia (blue-blind)
#B6B5AB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbc79;
/* rgb */ color: rgb(175, 188, 121);
/* oklch */ color: oklch(76.9% 0.090 117.5);
Tailwind
colors: {
  custom: {
    50: '#c7d0a0',
    500: '#afbc79',
    950: '#000000',
  },
}
SCSS
$custom: #afbc79;
$custom-light: #c7d0a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc79",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 121
  },
  "hsl": {
    "h": 71.642,
    "s": 33.333,
    "l": 60.588
  },
  "oklch": {
    "l": 0.76911,
    "c": 0.0903,
    "h": 117.5
  },
  "luminance": 0.46461
}

Semantic roles & 50–950 ramp

primary
#AFBC79
secondary
#C1BCD5
accent
#39AC50
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140F
muted
#82827E

Preview Lab

Preview with #AFBC79

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

Preview Lab → · Contrast checker → · Palette generator →

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