#AD9840#AD9840

#AD9840 is a light, moderate yellow. Relative luminance 0.317; OKLCH L 68.1% C 0.110 H 95.9°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#AD9840
RGBrgb(173, 152, 64)
HSLhsl(48, 46%, 46%)
HSVhsv(48, 63%, 68%)
CMYKcmyk(0%, 12.1%, 63%, 32.2%)
CIE-LABlab(63.10, -2.86, 47.92)
CIE-LCHlch(63.10, 48.01, 93.42°)
OKLaboklab(68.1% -0.0113 0.1098)
OKLCHoklch(68.1% 0.11 95.9)
XYZxyz(29.3885, 31.7123, 9.4226)
Luminance0.3171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9840 #4055AD
analogous
#AD6140 #AD9840 #8CAD40
triadic
#AD9840 #40AD98 #9840AD
tetradic
#AD9840 #40AD61 #4055AD #AD408C
square
#AD9840 #40AD61 #4055AD #AD408C
split-complementary
#AD9840 #408CAD #6140AD
monochromatic
#54491F #80712F #AD9840 #C6B364 #D6C991

Accessibility & contrast

On white

2.86
#AD9840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#AD9840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9840
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9840#FFFFFF#000000##000000
##AD98401.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69536
Deuteranopia (green-blind)
#AC9C44
Tritanopia (blue-blind)
#BA8D85
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ad9840;
/* rgb */ color: rgb(173, 152, 64);
/* oklch */ color: oklch(68.1% 0.110 95.9);
Tailwind
colors: {
  custom: {
    50: '#c8b678',
    500: '#ad9840',
    950: '#000000',
  },
}
SCSS
$custom: #ad9840;
$custom-light: #c8b678;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9840",
  "rgb": {
    "r": 173,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 48.44,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.68099,
    "c": 0.11037,
    "h": 95.9
  },
  "luminance": 0.31711
}

Semantic roles & 50–950 ramp

primary
#AD9840
secondary
#8792C2
accent
#6BD652
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #AD9840

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

Preview Lab → · Contrast checker → · Palette generator →

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