#AF973D#AF973D

#AF973D is a light, moderate yellow. Relative luminance 0.316; OKLCH L 68.1% C 0.112 H 94.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#AF973D
RGBrgb(175, 151, 61)
HSLhsl(47, 48%, 46%)
HSVhsv(47, 65%, 69%)
CMYKcmyk(0%, 13.7%, 65.1%, 31.4%)
CIE-LABlab(63.00, -1.64, 49.24)
CIE-LCHlch(63.00, 49.27, 91.91°)
OKLaboklab(68.05% -0.0083 0.1121)
OKLCHoklch(68.05% 0.112 94.2)
XYZxyz(29.5895, 31.5856, 8.9521)
Luminance0.3158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF973D #3D55AF
analogous
#AF5E3D #AF973D #8EAF3D
triadic
#AF973D #3DAF97 #973DAF
tetradic
#AF973D #3DAF5E #3D55AF #AF3D8E
square
#AF973D #3DAF5E #3D55AF #AF3D8E
split-complementary
#AF973D #3D8EAF #5E3DAF
monochromatic
#54491D #82702D #AF973D #C8B261 #D8C88F

Accessibility & contrast

On white

2.87
#AF973D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#AF973D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF973D
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF973D#FFFFFF#000000##000000
##AF973D1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69433
Deuteranopia (green-blind)
#AC9C41
Tritanopia (blue-blind)
#BD8C84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af973d;
/* rgb */ color: rgb(175, 151, 61);
/* oklch */ color: oklch(68.1% 0.112 94.2);
Tailwind
colors: {
  custom: {
    50: '#cab577',
    500: '#af973d',
    950: '#000000',
  },
}
SCSS
$custom: #af973d;
$custom-light: #cab577;
$custom-dark: #000000;
JSON
{
  "hex": "#af973d",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 61
  },
  "hsl": {
    "h": 47.368,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.68052,
    "c": 0.11239,
    "h": 94.2
  },
  "luminance": 0.31584
}

Semantic roles & 50–950 ramp

primary
#AF973D
secondary
#8592C3
accent
#6DD850
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF973D

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

Preview Lab → · Contrast checker → · Palette generator →

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