#AD9540#AD9540

#AD9540 is a light, moderate yellow. Relative luminance 0.307; OKLCH L 67.5% C 0.108 H 93.5°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#AD9540
RGBrgb(173, 149, 64)
HSLhsl(47, 46%, 46%)
HSVhsv(47, 63%, 68%)
CMYKcmyk(0%, 13.9%, 63%, 32.2%)
CIE-LABlab(62.30, -1.24, 47.03)
CIE-LCHlch(62.30, 47.05, 91.51°)
OKLaboklab(67.46% -0.0066 0.1079)
OKLCHoklch(67.46% 0.108 93.5)
XYZxyz(28.9078, 30.7508, 9.2623)
Luminance0.3075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9540 #4058AD
analogous
#AD5F40 #AD9540 #8FAD40
triadic
#AD9540 #40AD95 #9540AD
tetradic
#AD9540 #40AD5F #4058AD #AD408F
square
#AD9540 #40AD5F #4058AD #AD408F
split-complementary
#AD9540 #408FAD #5F40AD
monochromatic
#54481F #806F2F #AD9540 #C6B064 #D6C791

Accessibility & contrast

On white

2.94
#AD9540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#AD9540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9540
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9540#FFFFFF#000000##000000
##AD95401.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49237
Deuteranopia (green-blind)
#AA9A44
Tritanopia (blue-blind)
#BA8A83
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ad9540;
/* rgb */ color: rgb(173, 149, 64);
/* oklch */ color: oklch(67.5% 0.108 93.5);
Tailwind
colors: {
  custom: {
    50: '#c8b378',
    500: '#ad9540',
    950: '#000000',
  },
}
SCSS
$custom: #ad9540;
$custom-light: #c8b378;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9540",
  "rgb": {
    "r": 173,
    "g": 149,
    "b": 64
  },
  "hsl": {
    "h": 46.789,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.67461,
    "c": 0.10809,
    "h": 93.5
  },
  "luminance": 0.30749
}

Semantic roles & 50–950 ramp

primary
#AD9540
secondary
#8794C2
accent
#6FD652
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #AD9540

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

Preview Lab → · Contrast checker → · Palette generator →

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