#AFBF81#AFBF81

#AFBF81 is a light, moderate yellow-green. Relative luminance 0.480; OKLCH L 77.7% C 0.085 H 120.2°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#AFBF81
RGBrgb(175, 191, 129)
HSLhsl(75, 33%, 63%)
HSVhsv(75, 32%, 75%)
CMYKcmyk(8.4%, 0%, 32.5%, 25.1%)
CIE-LABlab(74.80, -15.84, 29.52)
CIE-LCHlch(74.80, 33.50, 118.21°)
OKLaboklab(77.72% -0.0427 0.0735)
OKLCHoklch(77.72% 0.085 120.2)
XYZxyz(40.2722, 47.9606, 27.9003)
Luminance0.4796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF81 #9181BF
analogous
#BFB081 #AFBF81 #90BF81
triadic
#AFBF81 #81AFBF #BF81AF
tetradic
#AFBF81 #81BFB0 #9181BF #BF8190
square
#AFBF81 #81BFB0 #9181BF #BF8190
split-complementary
#AFBF81 #8190BF #B081BF
monochromatic
#728343 #95AA58 #AFBF81 #C9D4AA #E3E8D2

Accessibility & contrast

On white

1.98
#AFBF81 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#AFBF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF81
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF81#FFFFFF#000000##000000
##AFBF811.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B87D
Deuteranopia (green-blind)
#C5B884
Tritanopia (blue-blind)
#B4B9AF
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afbf81;
/* rgb */ color: rgb(175, 191, 129);
/* oklch */ color: oklch(77.7% 0.085 120.2);
Tailwind
colors: {
  custom: {
    50: '#c7d2a6',
    500: '#afbf81',
    950: '#000000',
  },
}
SCSS
$custom: #afbf81;
$custom-light: #c7d2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf81",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 129
  },
  "hsl": {
    "h": 75.484,
    "s": 32.632,
    "l": 62.745
  },
  "oklch": {
    "l": 0.77716,
    "c": 0.08501,
    "h": 120.2
  },
  "luminance": 0.47961
}

Semantic roles & 50–950 ramp

primary
#AFBF81
secondary
#C8C3D9
accent
#3AAB57
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13140F
muted
#82827F

Preview Lab

Preview with #AFBF81

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

Preview Lab → · Contrast checker → · Palette generator →

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