#AF9D4E#AF9D4E

#AF9D4E is a light, moderate yellow. Relative luminance 0.338; OKLCH L 69.5% C 0.102 H 96.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#AF9D4E
RGBrgb(175, 157, 78)
HSLhsl(49, 38%, 50%)
HSVhsv(49, 55%, 69%)
CMYKcmyk(0%, 10.3%, 55.4%, 31.4%)
CIE-LABlab(64.79, -3.63, 43.17)
CIE-LCHlch(64.79, 43.32, 94.81°)
OKLaboklab(69.52% -0.0119 0.1013)
OKLCHoklch(69.52% 0.102 96.7)
XYZxyz(31.1124, 33.7793, 12.0875)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9D4E #4E60AF
analogous
#AF6D4E #AF9D4E #91AF4E
triadic
#AF9D4E #4EAF9D #9D4EAF
tetradic
#AF9D4E #4EAF6D #4E60AF #AF4E91
square
#AF9D4E #4EAF6D #4E60AF #AF4E91
split-complementary
#AF9D4E #4E91AF #6D4EAF
monochromatic
#5A5128 #85773B #AF9D4E #C3B578 #D6CCA2

Accessibility & contrast

On white

2.71
#AF9D4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#AF9D4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9D4E
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9D4E#FFFFFF#000000##000000
##AF9D4E1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9A47
Deuteranopia (green-blind)
#AFA051
Tritanopia (blue-blind)
#BB938B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af9d4e;
/* rgb */ color: rgb(175, 157, 78);
/* oklch */ color: oklch(69.5% 0.102 96.7);
Tailwind
colors: {
  custom: {
    50: '#c9b982',
    500: '#af9d4e',
    950: '#000000',
  },
}
SCSS
$custom: #af9d4e;
$custom-light: #c9b982;
$custom-dark: #000000;
JSON
{
  "hex": "#af9d4e",
  "rgb": {
    "r": 175,
    "g": 157,
    "b": 78
  },
  "hsl": {
    "h": 48.866,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.69522,
    "c": 0.10198,
    "h": 96.7
  },
  "luminance": 0.33778
}

Semantic roles & 50–950 ramp

primary
#AF9D4E
secondary
#969EC3
accent
#6FCE5A
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#13110A
muted
#82807C

Preview Lab

Preview with #AF9D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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