#AF973F#AF973F

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

Color values

HEX#AF973F
RGBrgb(175, 151, 63)
HSLhsl(47, 47%, 47%)
HSVhsv(47, 64%, 69%)
CMYKcmyk(0%, 13.7%, 64%, 31.4%)
CIE-LABlab(63.02, -1.51, 48.34)
CIE-LCHlch(63.02, 48.37, 91.79°)
OKLaboklab(68.07% -0.0077 0.1105)
OKLCHoklch(68.07% 0.111 94)
XYZxyz(29.6444, 31.6076, 9.2411)
Luminance0.3161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF973F #3F57AF
analogous
#AF5F3F #AF973F #8FAF3F
triadic
#AF973F #3FAF97 #973FAF
tetradic
#AF973F #3FAF5F #3F57AF #AF3F8F
square
#AF973F #3FAF5F #3F57AF #AF3F8F
split-complementary
#AF973F #3F8FAF #5F3FAF
monochromatic
#55491F #82702F #AF973F #C7B264 #D7C891

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF973F#FFFFFF#000000##000000
##AF973F1.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)
#A69435
Deuteranopia (green-blind)
#AC9C43
Tritanopia (blue-blind)
#BC8C84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af973f;
/* rgb */ color: rgb(175, 151, 63);
/* oklch */ color: oklch(68.1% 0.111 94.0);
Tailwind
colors: {
  custom: {
    50: '#cab578',
    500: '#af973f',
    950: '#000000',
  },
}
SCSS
$custom: #af973f;
$custom-light: #cab578;
$custom-dark: #000000;
JSON
{
  "hex": "#af973f",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 63
  },
  "hsl": {
    "h": 47.143,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.68072,
    "c": 0.11075,
    "h": 94
  },
  "luminance": 0.31606
}

Semantic roles & 50–950 ramp

primary
#AF973F
secondary
#8794C3
accent
#6ED751
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF973F

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

Preview Lab → · Contrast checker → · Palette generator →

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