#AD9838#AD9838

#AD9838 is a light, moderate yellow. Relative luminance 0.316; OKLCH L 68.0% C 0.117 H 96.8°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#AD9838
RGBrgb(173, 152, 56)
HSLhsl(49, 51%, 45%)
HSVhsv(49, 68%, 68%)
CMYKcmyk(0%, 12.1%, 67.6%, 32.2%)
CIE-LABlab(63.03, -3.37, 51.44)
CIE-LCHlch(63.03, 51.55, 93.75°)
OKLaboklab(68.02% -0.0137 0.116)
OKLCHoklch(68.02% 0.117 96.8)
XYZxyz(29.1770, 31.6277, 8.3085)
Luminance0.3163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9838 #384DAD
analogous
#AD5E38 #AD9838 #87AD38
triadic
#AD9838 #38AD98 #9838AD
tetradic
#AD9838 #38AD5E #384DAD #AD3887
square
#AD9838 #38AD5E #384DAD #AD3887
split-complementary
#AD9838 #3887AD #5E38AD
monochromatic
#51471A #7F6F29 #AD9838 #C9B559 #D8CA87

Accessibility & contrast

On white

2.87
#AD9838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#AD9838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9838
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9838#FFFFFF#000000##000000
##AD98381.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7952C
Deuteranopia (green-blind)
#AC9B3D
Tritanopia (blue-blind)
#BA8D84
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ad9838;
/* rgb */ color: rgb(173, 152, 56);
/* oklch */ color: oklch(68.0% 0.117 96.8);
Tailwind
colors: {
  custom: {
    50: '#c9b674',
    500: '#ad9838',
    950: '#000000',
  },
}
SCSS
$custom: #ad9838;
$custom-light: #c9b674;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9838",
  "rgb": {
    "r": 173,
    "g": 152,
    "b": 56
  },
  "hsl": {
    "h": 49.231,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68021,
    "c": 0.11679,
    "h": 96.8
  },
  "luminance": 0.31626
}

Semantic roles & 50–950 ramp

primary
#AD9838
secondary
#7F8BC2
accent
#67DB4D
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AD9838

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

Preview Lab → · Contrast checker → · Palette generator →

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