#AFBF92#AFBF92

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

Color values

HEX#AFBF92
RGBrgb(175, 191, 146)
HSLhsl(81, 26%, 66%)
HSVhsv(81, 24%, 75%)
CMYKcmyk(8.4%, 0%, 23.6%, 25.1%)
CIE-LABlab(75.11, -13.39, 20.93)
CIE-LCHlch(75.11, 24.85, 122.62°)
OKLaboklab(78.06% -0.0356 0.0532)
OKLCHoklch(78.06% 0.064 123.8)
XYZxyz(41.4977, 48.4508, 34.3543)
Luminance0.4845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF92 #A292BF
analogous
#BFB892 #AFBF92 #98BF92
triadic
#AFBF92 #92AFBF #BF92AF
tetradic
#AFBF92 #92BFB8 #A292BF #BF9298
square
#AFBF92 #92BFB8 #A292BF #BF9298
split-complementary
#AFBF92 #9298BF #B892BF
monochromatic
#73874F #93A86B #AFBF92 #CBD6B9 #E8ECDF

Accessibility & contrast

On white

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

On black

10.69
#AFBF92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF92
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF92#FFFFFF#000000##000000
##AFBF921.001.9610.6910.69
#FFFFFF1.961.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B98F
Deuteranopia (green-blind)
#C2B994
Tritanopia (blue-blind)
#B2BAB3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #afbf92;
/* rgb */ color: rgb(175, 191, 146);
/* oklch */ color: oklch(78.1% 0.064 123.8);
Tailwind
colors: {
  custom: {
    50: '#c7d2b2',
    500: '#afbf92',
    950: '#000000',
  },
}
SCSS
$custom: #afbf92;
$custom-light: #c7d2b2;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf92",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 146
  },
  "hsl": {
    "h": 81.333,
    "s": 26.012,
    "l": 66.078
  },
  "oklch": {
    "l": 0.78063,
    "c": 0.06398,
    "h": 123.8
  },
  "luminance": 0.48451
}

Semantic roles & 50–950 ramp

primary
#AFBF92
secondary
#D4CFDE
accent
#41A564
background
#FCFCFA
surface
#F8F9F5
border
#D1D2CF
text
#131411
muted
#828280

Preview Lab

Preview with #AFBF92

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

Preview Lab → · Contrast checker → · Palette generator →

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