#AD9938#AD9938

#AD9938 is a light, moderate yellow. Relative luminance 0.320; OKLCH L 68.2% C 0.118 H 97.5°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#AD9938
RGBrgb(173, 153, 56)
HSLhsl(50, 51%, 45%)
HSVhsv(50, 68%, 68%)
CMYKcmyk(0%, 11.6%, 67.6%, 32.2%)
CIE-LABlab(63.30, -3.91, 51.72)
CIE-LCHlch(63.30, 51.86, 94.33°)
OKLaboklab(68.24% -0.0153 0.1166)
OKLCHoklch(68.24% 0.118 97.5)
XYZxyz(29.3400, 31.9537, 8.3629)
Luminance0.3195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9938 #384CAD
analogous
#AD5F38 #AD9938 #86AD38
triadic
#AD9938 #38AD99 #9938AD
tetradic
#AD9938 #38AD5F #384CAD #AD3886
square
#AD9938 #38AD5F #384CAD #AD3886
split-complementary
#AD9938 #3886AD #5F38AD
monochromatic
#51471A #7F7029 #AD9938 #C9B659 #D8CA87

Accessibility & contrast

On white

2.84
#AD9938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#AD9938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9938
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9938#FFFFFF#000000##000000
##AD99381.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8952B
Deuteranopia (green-blind)
#AD9C3D
Tritanopia (blue-blind)
#BA8E85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ad9938;
/* rgb */ color: rgb(173, 153, 56);
/* oklch */ color: oklch(68.2% 0.118 97.5);
Tailwind
colors: {
  custom: {
    50: '#c9b674',
    500: '#ad9938',
    950: '#000000',
  },
}
SCSS
$custom: #ad9938;
$custom-light: #c9b674;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9938",
  "rgb": {
    "r": 173,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 49.744,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68235,
    "c": 0.11758,
    "h": 97.5
  },
  "luminance": 0.31952
}

Semantic roles & 50–950 ramp

primary
#AD9938
secondary
#7F8AC2
accent
#65DB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AD9938

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

Preview Lab → · Contrast checker → · Palette generator →

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