#AF9D48#AF9D48

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

Color values

HEX#AF9D48
RGBrgb(175, 157, 72)
HSLhsl(50, 42%, 48%)
HSVhsv(50, 59%, 69%)
CMYKcmyk(0%, 10.3%, 58.9%, 31.4%)
CIE-LABlab(64.72, -4.11, 46.01)
CIE-LCHlch(64.72, 46.19, 95.10°)
OKLaboklab(69.45% -0.014 0.1067)
OKLCHoklch(69.45% 0.108 97.5)
XYZxyz(30.9071, 33.6971, 11.0058)
Luminance0.3370 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF9D48 #485AAF
analogous
#AF6A48 #AF9D48 #8DAF48
triadic
#AF9D48 #48AF9D #9D48AF
tetradic
#AF9D48 #48AF6A #485AAF #AF488D
square
#AF9D48 #48AF6A #485AAF #AF488D
split-complementary
#AF9D48 #488DAF #6A48AF
monochromatic
#584F24 #847636 #AF9D48 #C4B570 #D6CC9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF9D48#FFFFFF#000000##000000
##AF9D481.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)
#AB993F
Deuteranopia (green-blind)
#B0A04C
Tritanopia (blue-blind)
#BC938A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #af9d48;
/* rgb */ color: rgb(175, 157, 72);
/* oklch */ color: oklch(69.4% 0.108 97.5);
Tailwind
colors: {
  custom: {
    50: '#c9b97e',
    500: '#af9d48',
    950: '#000000',
  },
}
SCSS
$custom: #af9d48;
$custom-light: #c9b97e;
$custom-dark: #000000;
JSON
{
  "hex": "#af9d48",
  "rgb": {
    "r": 175,
    "g": 157,
    "b": 72
  },
  "hsl": {
    "h": 49.515,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.69449,
    "c": 0.10764,
    "h": 97.5
  },
  "luminance": 0.33696
}

Semantic roles & 50–950 ramp

primary
#AF9D48
secondary
#9099C2
accent
#6CD256
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #AF9D48

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

Preview Lab → · Contrast checker → · Palette generator →

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