#AFBF76#AFBF76

#AFBF76 is a light, moderate yellow-green. Relative luminance 0.477; OKLCH L 77.5% C 0.098 H 118.8°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#AFBF76
RGBrgb(175, 191, 118)
HSLhsl(73, 36%, 61%)
HSVhsv(73, 38%, 75%)
CMYKcmyk(8.4%, 0%, 38.2%, 25.1%)
CIE-LABlab(74.63, -17.25, 35.01)
CIE-LCHlch(74.63, 39.03, 116.23°)
OKLaboklab(77.52% -0.0473 0.0859)
OKLCHoklch(77.52% 0.098 118.8)
XYZxyz(39.5801, 47.6838, 24.2548)
Luminance0.4768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF76 #8676BF
analogous
#BFAA76 #AFBF76 #8ABF76
triadic
#AFBF76 #76AFBF #BF76AF
tetradic
#AFBF76 #76BFAA #8676BF #BF768A
square
#AFBF76 #76BFAA #8676BF #BF768A
split-complementary
#AFBF76 #768ABF #AA76BF
monochromatic
#707F3B #95A94F #AFBF76 #C7D2A0 #E0E6C9

Accessibility & contrast

On white

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

On black

10.54
#AFBF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF76
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF76#FFFFFF#000000##000000
##AFBF761.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B871
Deuteranopia (green-blind)
#C6B879
Tritanopia (blue-blind)
#B6B8AD
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #afbf76;
/* rgb */ color: rgb(175, 191, 118);
/* oklch */ color: oklch(77.5% 0.098 118.8);
Tailwind
colors: {
  custom: {
    50: '#c8d29e',
    500: '#afbf76',
    950: '#000000',
  },
}
SCSS
$custom: #afbf76;
$custom-light: #c8d29e;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf76",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 118
  },
  "hsl": {
    "h": 73.151,
    "s": 36.318,
    "l": 60.588
  },
  "oklch": {
    "l": 0.77519,
    "c": 0.09803,
    "h": 118.8
  },
  "luminance": 0.47684
}

Semantic roles & 50–950 ramp

primary
#AFBF76
secondary
#C1BBD6
accent
#36AF51
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBF76

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

Preview Lab → · Contrast checker → · Palette generator →

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