#AD9828#AD9828

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

Color values

HEX#AD9828
RGBrgb(173, 152, 40)
HSLhsl(51, 62%, 42%)
HSVhsv(51, 77%, 68%)
CMYKcmyk(0%, 12.1%, 76.9%, 32.2%)
CIE-LABlab(62.92, -4.18, 57.64)
CIE-LCHlch(62.92, 57.79, 94.14°)
OKLaboklab(67.9% -0.0178 0.1261)
OKLCHoklch(67.9% 0.127 98)
XYZxyz(28.8463, 31.4954, 6.5669)
Luminance0.3149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9828 #283DAD
analogous
#AD5628 #AD9828 #80AD28
triadic
#AD9828 #28AD98 #9828AD
tetradic
#AD9828 #28AD56 #283DAD #AD2880
square
#AD9828 #28AD56 #283DAD #AD2880
split-complementary
#AD9828 #2880AD #5628AD
monochromatic
#4A4111 #7B6C1D #AD9828 #D3BB3F #DECD71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AD9828#FFFFFF#000000##000000
##AD98281.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)
#A89411
Deuteranopia (green-blind)
#AD9B30
Tritanopia (blue-blind)
#BB8C83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ad9828;
/* rgb */ color: rgb(173, 152, 40);
/* oklch */ color: oklch(67.9% 0.127 98.0);
Tailwind
colors: {
  custom: {
    50: '#c9b56b',
    500: '#ad9828',
    950: '#000000',
  },
}
SCSS
$custom: #ad9828;
$custom-light: #c9b56b;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9828",
  "rgb": {
    "r": 173,
    "g": 152,
    "b": 40
  },
  "hsl": {
    "h": 50.526,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67898,
    "c": 0.12739,
    "h": 98
  },
  "luminance": 0.31494
}

Semantic roles & 50–950 ramp

primary
#AD9828
secondary
#6C7AC5
accent
#5CE642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AD9828

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

Preview Lab → · Contrast checker → · Palette generator →

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