#AFA176#AFA176

#AFA176 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 71.0% C 0.061 H 92.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#AFA176
RGBrgb(175, 161, 118)
HSLhsl(45, 26%, 57%)
HSVhsv(45, 33%, 69%)
CMYKcmyk(0%, 8%, 32.6%, 31.4%)
CIE-LABlab(66.45, -1.53, 24.28)
CIE-LCHlch(66.45, 24.33, 93.61°)
OKLaboklab(71.03% -0.0023 0.0608)
OKLCHoklch(71.03% 0.061 92.2)
XYZxyz(33.6945, 35.9127, 22.2929)
Luminance0.3591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA176 #7684AF
analogous
#AF8576 #AFA176 #A1AF76
triadic
#AFA176 #76AFA1 #A176AF
tetradic
#AFA176 #76AF85 #7684AF #AF76A1
square
#AFA176 #76AF85 #7684AF #AF76A1
split-complementary
#AFA176 #76A1AF #8576AF
monochromatic
#6C613F #928355 #AFA176 #C6BC9D #DCD6C3

Accessibility & contrast

On white

2.57
#AFA176 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#AFA176 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA176
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA176#FFFFFF#000000##000000
##AFA1761.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9F73
Deuteranopia (green-blind)
#AEA377
Tritanopia (blue-blind)
#B89A96
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #afa176;
/* rgb */ color: rgb(175, 161, 118);
/* oklch */ color: oklch(71.0% 0.061 92.2);
Tailwind
colors: {
  custom: {
    50: '#c7bc9e',
    500: '#afa176',
    950: '#000000',
  },
}
SCSS
$custom: #afa176;
$custom-light: #c7bc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa176",
  "rgb": {
    "r": 175,
    "g": 161,
    "b": 118
  },
  "hsl": {
    "h": 45.263,
    "s": 26.267,
    "l": 57.451
  },
  "oklch": {
    "l": 0.71031,
    "c": 0.06087,
    "h": 92.2
  },
  "luminance": 0.35912
}

Semantic roles & 50–950 ramp

primary
#AFA176
secondary
#B5BBCC
accent
#7CC365
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA176

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

Preview Lab → · Contrast checker → · Palette generator →

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