#AF974C#AF974C

#AF974C is a light, moderate yellow. Relative luminance 0.318; OKLCH L 68.2% C 0.099 H 91.9°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#AF974C
RGBrgb(175, 151, 76)
HSLhsl(45, 39%, 49%)
HSVhsv(45, 57%, 69%)
CMYKcmyk(0%, 13.7%, 56.6%, 31.4%)
CIE-LABlab(63.15, -0.55, 42.25)
CIE-LCHlch(63.15, 42.25, 90.74°)
OKLaboklab(68.22% -0.0033 0.0991)
OKLCHoklch(68.22% 0.099 91.9)
XYZxyz(30.0515, 31.7704, 11.3855)
Luminance0.3177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF974C #4C64AF
analogous
#AF664C #AF974C #96AF4C
triadic
#AF974C #4CAF97 #974CAF
tetradic
#AF974C #4CAF66 #4C64AF #AF4C96
square
#AF974C #4CAF66 #4C64AF #AF4C96
split-complementary
#AF974C #4C96AF #664CAF
monochromatic
#5A4D27 #847239 #AF974C #C3B075 #D6C9A0

Accessibility & contrast

On white

2.86
#AF974C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#AF974C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF974C
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF974C#FFFFFF#000000##000000
##AF974C1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59545
Deuteranopia (green-blind)
#AB9C4F
Tritanopia (blue-blind)
#BC8D86
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #af974c;
/* rgb */ color: rgb(175, 151, 76);
/* oklch */ color: oklch(68.2% 0.099 91.9);
Tailwind
colors: {
  custom: {
    50: '#c9b580',
    500: '#af974c',
    950: '#000000',
  },
}
SCSS
$custom: #af974c;
$custom-light: #c9b580;
$custom-dark: #000000;
JSON
{
  "hex": "#af974c",
  "rgb": {
    "r": 175,
    "g": 151,
    "b": 76
  },
  "hsl": {
    "h": 45.455,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.68223,
    "c": 0.09912,
    "h": 91.9
  },
  "luminance": 0.31769
}

Semantic roles & 50–950 ramp

primary
#AF974C
secondary
#94A0C2
accent
#75CF58
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #AF974C

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

Preview Lab → · Contrast checker → · Palette generator →

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