#AFBA76#AFBA76

#AFBA76 is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.4% C 0.091 H 116.1°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#AFBA76
RGBrgb(175, 186, 118)
HSLhsl(70, 33%, 60%)
HSVhsv(70, 37%, 73%)
CMYKcmyk(5.9%, 0%, 36.6%, 27.1%)
CIE-LABlab(73.25, -14.70, 33.23)
CIE-LCHlch(73.25, 36.34, 113.87°)
OKLaboklab(76.42% -0.0401 0.0818)
OKLCHoklch(76.42% 0.091 116.1)
XYZxyz(38.5082, 45.5401, 23.8975)
Luminance0.4554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBA76 #8176BA
analogous
#BAA376 #AFBA76 #8DBA76
triadic
#AFBA76 #76AFBA #BA76AF
tetradic
#AFBA76 #76BAA3 #8176BA #BA768D
square
#AFBA76 #76BAA3 #8176BA #BA768D
split-complementary
#AFBA76 #768DBA #A376BA
monochromatic
#6F793D #95A151 #AFBA76 #C7CE9F #DFE3C7

Accessibility & contrast

On white

2.08
#AFBA76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#AFBA76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBA76
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBA76#FFFFFF#000000##000000
##AFBA761.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B371
Deuteranopia (green-blind)
#C2B479
Tritanopia (blue-blind)
#B6B3A9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afba76;
/* rgb */ color: rgb(175, 186, 118);
/* oklch */ color: oklch(76.4% 0.091 116.1);
Tailwind
colors: {
  custom: {
    50: '#c8ce9e',
    500: '#afba76',
    950: '#000000',
  },
}
SCSS
$custom: #afba76;
$custom-light: #c8ce9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afba76",
  "rgb": {
    "r": 175,
    "g": 186,
    "b": 118
  },
  "hsl": {
    "h": 69.706,
    "s": 33.01,
    "l": 59.608
  },
  "oklch": {
    "l": 0.76419,
    "c": 0.09106,
    "h": 116.1
  },
  "luminance": 0.4554
}

Semantic roles & 50–950 ramp

primary
#AFBA76
secondary
#BDB9D3
accent
#5FC970
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #AFBA76

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

Preview Lab → · Contrast checker → · Palette generator →

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