#AFA673#AFA673

#AFA673 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 72.0% C 0.070 H 99.4°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#AFA673
RGBrgb(175, 166, 115)
HSLhsl(51, 27%, 57%)
HSVhsv(51, 34%, 69%)
CMYKcmyk(0%, 5.1%, 34.3%, 31.4%)
CIE-LABlab(67.74, -4.60, 27.62)
CIE-LCHlch(67.74, 28.00, 99.46°)
OKLaboklab(72.03% -0.0113 0.0686)
OKLCHoklch(72.03% 0.07 99.4)
XYZxyz(34.4104, 37.6251, 21.6660)
Luminance0.3762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA673 #737CAF
analogous
#AF8873 #AFA673 #9AAF73
triadic
#AFA673 #73AFA6 #A673AF
tetradic
#AFA673 #73AF88 #737CAF #AF739A
square
#AFA673 #73AF88 #737CAF #AF739A
split-complementary
#AFA673 #739AAF #8873AF
monochromatic
#6B643D #928853 #AFA673 #C5BF9A #DCD8C1

Accessibility & contrast

On white

2.46
#AFA673 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#AFA673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA673
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA673#FFFFFF#000000##000000
##AFA6731.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A36F
Deuteranopia (green-blind)
#B2A775
Tritanopia (blue-blind)
#B89F99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #afa673;
/* rgb */ color: rgb(175, 166, 115);
/* oklch */ color: oklch(72.0% 0.070 99.4);
Tailwind
colors: {
  custom: {
    50: '#c8c09b',
    500: '#afa673',
    950: '#000000',
  },
}
SCSS
$custom: #afa673;
$custom-light: #c8c09b;
$custom-dark: #000000;
JSON
{
  "hex": "#afa673",
  "rgb": {
    "r": 175,
    "g": 166,
    "b": 115
  },
  "hsl": {
    "h": 51,
    "s": 27.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.72033,
    "c": 0.06956,
    "h": 99.4
  },
  "luminance": 0.37624
}

Semantic roles & 50–950 ramp

primary
#AFA673
secondary
#B3B6CB
accent
#73C464
background
#FCFBF9
surface
#F8F7F2
border
#D1D0CC
text
#13120E
muted
#82817E

Preview Lab

Preview with #AFA673

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

Preview Lab → · Contrast checker → · Palette generator →

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