#AF973E#AF973E

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

Color values

HEX#AF973E
RGBrgb(175, 151, 62)
HSLhsl(47, 48%, 46%)
HSVhsv(47, 65%, 69%)
CMYKcmyk(0%, 13.7%, 64.6%, 31.4%)
CIE-LABlab(63.01, -1.58, 48.79)
CIE-LCHlch(63.01, 48.82, 91.85°)
OKLaboklab(68.06% -0.008 0.1113)
OKLCHoklch(68.06% 0.112 94.1)
XYZxyz(29.6167, 31.5965, 9.0952)
Luminance0.3160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF973E #3E56AF
analogous
#AF5F3E #AF973E #8FAF3E
triadic
#AF973E #3EAF97 #973EAF
tetradic
#AF973E #3EAF5F #3E56AF #AF3E8F
square
#AF973E #3EAF5F #3E56AF #AF3E8F
split-complementary
#AF973E #3E8FAF #5F3EAF
monochromatic
#55491E #82702E #AF973E #C8B263 #D8C890

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF973E#FFFFFF#000000##000000
##AF973E1.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)
#A69434
Deuteranopia (green-blind)
#AC9C42
Tritanopia (blue-blind)
#BC8C84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #af973e;
/* rgb */ color: rgb(175, 151, 62);
/* oklch */ color: oklch(68.1% 0.112 94.1);
Tailwind
colors: {
  custom: {
    50: '#cab577',
    500: '#af973e',
    950: '#000000',
  },
}
SCSS
$custom: #af973e;
$custom-light: #cab577;
$custom-dark: #000000;
JSON
{
  "hex": "#af973e",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 62
  },
  "hsl": {
    "h": 47.257,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.68062,
    "c": 0.11157,
    "h": 94.1
  },
  "luminance": 0.31595
}

Semantic roles & 50–950 ramp

primary
#AF973E
secondary
#8693C3
accent
#6DD751
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AF973E

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

Preview Lab → · Contrast checker → · Palette generator →

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