#AFBF93#AFBF93

#AFBF93 is a light, moderate yellow-green. Relative luminance 0.485; OKLCH L 78.1% C 0.063 H 124.1°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#AFBF93
RGBrgb(175, 191, 147)
HSLhsl(82, 26%, 66%)
HSVhsv(82, 23%, 75%)
CMYKcmyk(8.4%, 0%, 23%, 25.1%)
CIE-LABlab(75.13, -13.24, 20.42)
CIE-LCHlch(75.13, 24.34, 122.96°)
OKLaboklab(78.09% -0.0351 0.052)
OKLCHoklch(78.09% 0.063 124.1)
XYZxyz(41.5758, 48.4821, 34.7658)
Luminance0.4848 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF93 #A393BF
analogous
#BFB993 #AFBF93 #99BF93
triadic
#AFBF93 #93AFBF #BF93AF
tetradic
#AFBF93 #93BFB9 #A393BF #BF9399
square
#AFBF93 #93BFB9 #A393BF #BF9399
split-complementary
#AFBF93 #9399BF #B993BF
monochromatic
#738750 #93A86D #AFBF93 #CBD6B9 #E8EDE0

Accessibility & contrast

On white

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

On black

10.70
#AFBF93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF93
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF93#FFFFFF#000000##000000
##AFBF931.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B990
Deuteranopia (green-blind)
#C2B995
Tritanopia (blue-blind)
#B2BBB3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afbf93;
/* rgb */ color: rgb(175, 191, 147);
/* oklch */ color: oklch(78.1% 0.063 124.1);
Tailwind
colors: {
  custom: {
    50: '#c7d2b3',
    500: '#afbf93',
    950: '#000000',
  },
}
SCSS
$custom: #afbf93;
$custom-light: #c7d2b3;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf93",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 147
  },
  "hsl": {
    "h": 81.818,
    "s": 25.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.78085,
    "c": 0.06272,
    "h": 124.1
  },
  "luminance": 0.48482
}

Semantic roles & 50–950 ramp

primary
#AFBF93
secondary
#D5D0DE
accent
#41A465
background
#FCFCFB
surface
#F8F9F6
border
#D1D2D0
text
#131411
muted
#828280

Preview Lab

Preview with #AFBF93

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

Preview Lab → · Contrast checker → · Palette generator →

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