#AFBF98#AFBF98

#AFBF98 is a light, muted yellow-green. Relative luminance 0.486; OKLCH L 78.2% C 0.056 H 125.8°. Best body text is #000000 at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#AFBF98
RGBrgb(175, 191, 152)
HSLhsl(85, 23%, 67%)
HSVhsv(85, 20%, 75%)
CMYKcmyk(8.4%, 0%, 20.4%, 25.1%)
CIE-LABlab(75.23, -12.46, 17.88)
CIE-LCHlch(75.23, 21.79, 124.87°)
OKLaboklab(78.2% -0.033 0.0457)
OKLCHoklch(78.2% 0.056 125.8)
XYZxyz(41.9767, 48.6424, 36.8772)
Luminance0.4864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF98 #A898BF
analogous
#BFBB98 #AFBF98 #9CBF98
triadic
#AFBF98 #98AFBF #BF98AF
tetradic
#AFBF98 #98BFBB #A898BF #BF989C
square
#AFBF98 #98BFBB #A898BF #BF989C
split-complementary
#AFBF98 #989CBF #BB98BF
monochromatic
#738855 #92A872 #AFBF98 #CCD6BE #EAEEE3

Accessibility & contrast

On white

1.96
#AFBF98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.73
#AFBF98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF98
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF98#FFFFFF#000000##000000
##AFBF981.001.9610.7310.73
#FFFFFF1.961.0021.0021.00
#00000010.7321.001.001.00
##00000010.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4BA96
Deuteranopia (green-blind)
#C1B99A
Tritanopia (blue-blind)
#B1BBB4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afbf98;
/* rgb */ color: rgb(175, 191, 152);
/* oklch */ color: oklch(78.2% 0.056 125.8);
Tailwind
colors: {
  custom: {
    50: '#c7d2b6',
    500: '#afbf98',
    950: '#000000',
  },
}
SCSS
$custom: #afbf98;
$custom-light: #c7d2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf98",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 152
  },
  "hsl": {
    "h": 84.615,
    "s": 23.353,
    "l": 67.255
  },
  "oklch": {
    "l": 0.78198,
    "c": 0.05641,
    "h": 125.8
  },
  "luminance": 0.48643
}

Semantic roles & 50–950 ramp

primary
#AFBF98
secondary
#D8D3E0
accent
#44A26A
background
#FCFCFB
surface
#F8F9F6
border
#D1D2D0
text
#131411
muted
#828280

Preview Lab

Preview with #AFBF98

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

Preview Lab → · Contrast checker → · Palette generator →

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