#AFBF79#AFBF79

#AFBF79 is a light, moderate yellow-green. Relative luminance 0.478; OKLCH L 77.6% C 0.095 H 119.1°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#AFBF79
RGBrgb(175, 191, 121)
HSLhsl(74, 35%, 61%)
HSVhsv(74, 37%, 75%)
CMYKcmyk(8.4%, 0%, 36.6%, 25.1%)
CIE-LABlab(74.67, -16.88, 33.52)
CIE-LCHlch(74.67, 37.53, 116.72°)
OKLaboklab(77.57% -0.046 0.0826)
OKLCHoklch(77.57% 0.095 119.1)
XYZxyz(39.7612, 47.7562, 25.2087)
Luminance0.4776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF79 #8979BF
analogous
#BFAC79 #AFBF79 #8CBF79
triadic
#AFBF79 #79AFBF #BF79AF
tetradic
#AFBF79 #79BFAC #8979BF #BF798C
square
#AFBF79 #79BFAC #8979BF #BF798C
split-complementary
#AFBF79 #798CBF #AC79BF
monochromatic
#71803D #95AA51 #AFBF79 #C8D3A2 #E0E7CC

Accessibility & contrast

On white

1.99
#AFBF79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#AFBF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF79
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF79#FFFFFF#000000##000000
##AFBF791.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B874
Deuteranopia (green-blind)
#C6B87C
Tritanopia (blue-blind)
#B5B8AD
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afbf79;
/* rgb */ color: rgb(175, 191, 121);
/* oklch */ color: oklch(77.6% 0.095 119.1);
Tailwind
colors: {
  custom: {
    50: '#c8d2a0',
    500: '#afbf79',
    950: '#000000',
  },
}
SCSS
$custom: #afbf79;
$custom-light: #c8d2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf79",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 121
  },
  "hsl": {
    "h": 73.714,
    "s": 35.354,
    "l": 61.176
  },
  "oklch": {
    "l": 0.77571,
    "c": 0.09454,
    "h": 119.1
  },
  "luminance": 0.47756
}

Semantic roles & 50–950 ramp

primary
#AFBF79
secondary
#C3BDD7
accent
#37AE52
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140F
muted
#82827E

Preview Lab

Preview with #AFBF79

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

Preview Lab → · Contrast checker → · Palette generator →

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