#AFA376#AFA376

#AFA376 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.5% C 0.063 H 95.0°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#AFA376
RGBrgb(175, 163, 118)
HSLhsl(47, 26%, 57%)
HSVhsv(47, 33%, 69%)
CMYKcmyk(0%, 6.9%, 32.6%, 31.4%)
CIE-LABlab(66.99, -2.61, 25.00)
CIE-LCHlch(66.99, 25.14, 95.96°)
OKLaboklab(71.45% -0.0054 0.0625)
OKLCHoklch(71.45% 0.063 95)
XYZxyz(34.0468, 36.6173, 22.4104)
Luminance0.3662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA376 #7682AF
analogous
#AF8676 #AFA376 #9FAF76
triadic
#AFA376 #76AFA3 #A376AF
tetradic
#AFA376 #76AF86 #7682AF #AF769F
square
#AFA376 #76AF86 #7682AF #AF769F
split-complementary
#AFA376 #769FAF #8676AF
monochromatic
#6C623F #928655 #AFA376 #C6BD9D #DCD7C3

Accessibility & contrast

On white

2.52
#AFA376 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#AFA376 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA376
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA376#FFFFFF#000000##000000
##AFA3761.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACA173
Deuteranopia (green-blind)
#AFA578
Tritanopia (blue-blind)
#B89C97
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #afa376;
/* rgb */ color: rgb(175, 163, 118);
/* oklch */ color: oklch(71.5% 0.063 95.0);
Tailwind
colors: {
  custom: {
    50: '#c7be9e',
    500: '#afa376',
    950: '#000000',
  },
}
SCSS
$custom: #afa376;
$custom-light: #c7be9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afa376",
  "rgb": {
    "r": 175,
    "g": 163,
    "b": 118
  },
  "hsl": {
    "h": 47.368,
    "s": 26.267,
    "l": 57.451
  },
  "oklch": {
    "l": 0.71454,
    "c": 0.06277,
    "h": 95
  },
  "luminance": 0.36616
}

Semantic roles & 50–950 ramp

primary
#AFA376
secondary
#B5BACC
accent
#79C365
background
#FCFBF9
surface
#F8F6F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA376

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

Preview Lab → · Contrast checker → · Palette generator →

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