#AF9D49#AF9D49

#AF9D49 is a light, moderate yellow. Relative luminance 0.337; OKLCH L 69.5% C 0.107 H 97.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#AF9D49
RGBrgb(175, 157, 73)
HSLhsl(49, 41%, 49%)
HSVhsv(49, 58%, 69%)
CMYKcmyk(0%, 10.3%, 58.3%, 31.4%)
CIE-LABlab(64.73, -4.03, 45.54)
CIE-LCHlch(64.73, 45.72, 95.06°)
OKLaboklab(69.46% -0.0137 0.1058)
OKLCHoklch(69.46% 0.107 97.4)
XYZxyz(30.9400, 33.7103, 11.1790)
Luminance0.3371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9D49 #495BAF
analogous
#AF6A49 #AF9D49 #8EAF49
triadic
#AF9D49 #49AF9D #9D49AF
tetradic
#AF9D49 #49AF6A #495BAF #AF498E
square
#AF9D49 #49AF6A #495BAF #AF498E
split-complementary
#AF9D49 #498EAF #6A49AF
monochromatic
#595025 #847637 #AF9D49 #C4B571 #D6CC9C

Accessibility & contrast

On white

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

On black

7.74
#AF9D49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AF9D49
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF9D49#FFFFFF#000000##000000
##AF9D491.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9941
Deuteranopia (green-blind)
#B0A04D
Tritanopia (blue-blind)
#BC938A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af9d49;
/* rgb */ color: rgb(175, 157, 73);
/* oklch */ color: oklch(69.5% 0.107 97.4);
Tailwind
colors: {
  custom: {
    50: '#c9b97f',
    500: '#af9d49',
    950: '#000000',
  },
}
SCSS
$custom: #af9d49;
$custom-light: #c9b97f;
$custom-dark: #000000;
JSON
{
  "hex": "#af9d49",
  "rgb": {
    "r": 175,
    "g": 157,
    "b": 73
  },
  "hsl": {
    "h": 49.412,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.69461,
    "c": 0.10672,
    "h": 97.4
  },
  "luminance": 0.33709
}

Semantic roles & 50–950 ramp

primary
#AF9D49
secondary
#919AC2
accent
#6CD157
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#13110A
muted
#82807C

Preview Lab

Preview with #AF9D49

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

Preview Lab → · Contrast checker → · Palette generator →

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