#AD9827#AD9827

#AD9827 is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.9% C 0.128 H 98.1°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#AD9827
RGBrgb(173, 152, 39)
HSLhsl(51, 63%, 42%)
HSVhsv(51, 77%, 68%)
CMYKcmyk(0%, 12.1%, 77.5%, 32.2%)
CIE-LABlab(62.92, -4.22, 57.99)
CIE-LCHlch(62.92, 58.14, 94.16°)
OKLaboklab(67.89% -0.018 0.1267)
OKLCHoklch(67.89% 0.128 98.1)
XYZxyz(28.8295, 31.4887, 6.4785)
Luminance0.3149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9827 #273CAD
analogous
#AD5527 #AD9827 #7FAD27
triadic
#AD9827 #27AD98 #9827AD
tetradic
#AD9827 #27AD55 #273CAD #AD277F
square
#AD9827 #27AD55 #273CAD #AD277F
split-complementary
#AD9827 #277FAD #5527AD
monochromatic
#494010 #7B6C1C #AD9827 #D3BC3E #DFCD70

Accessibility & contrast

On white

2.88
#AD9827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#AD9827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9827
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9827#FFFFFF#000000##000000
##AD98271.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940F
Deuteranopia (green-blind)
#AD9B2F
Tritanopia (blue-blind)
#BB8C83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ad9827;
/* rgb */ color: rgb(173, 152, 39);
/* oklch */ color: oklch(67.9% 0.128 98.1);
Tailwind
colors: {
  custom: {
    50: '#c9b56b',
    500: '#ad9827',
    950: '#000000',
  },
}
SCSS
$custom: #ad9827;
$custom-light: #c9b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9827",
  "rgb": {
    "r": 173,
    "g": 152,
    "b": 39
  },
  "hsl": {
    "h": 50.597,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67892,
    "c": 0.12794,
    "h": 98.1
  },
  "luminance": 0.31487
}

Semantic roles & 50–950 ramp

primary
#AD9827
secondary
#6A79C6
accent
#5BE642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AD9827

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

Preview Lab → · Contrast checker → · Palette generator →

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