#AD8E28#AD8E28

#AD8E28 is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.8% C 0.121 H 91.1°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AD8E28
RGBrgb(173, 142, 40)
HSLhsl(46, 62%, 42%)
HSVhsv(46, 77%, 68%)
CMYKcmyk(0%, 17.9%, 76.9%, 32.2%)
CIE-LABlab(60.24, 1.26, 55.13)
CIE-LCHlch(60.24, 55.14, 88.69°)
OKLaboklab(65.77% -0.0023 0.1208)
OKLCHoklch(65.77% 0.121 91.1)
XYZxyz(27.2912, 28.3851, 6.0485)
Luminance0.2838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD8E28 #2847AD
analogous
#AD4C28 #AD8E28 #8AAD28
triadic
#AD8E28 #28AD8E #8E28AD
tetradic
#AD8E28 #28AD4C #2847AD #AD288A
square
#AD8E28 #28AD4C #2847AD #AD288A
split-complementary
#AD8E28 #288AAD #4C28AD
monochromatic
#4A3C11 #7B651D #AD8E28 #D3B03F #DEC571

Accessibility & contrast

On white

3.15
#AD8E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#AD8E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AD8E28
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD8E28#FFFFFF#000000##000000
##AD8E281.003.156.686.68
#FFFFFF3.151.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C15
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#BC827A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ad8e28;
/* rgb */ color: rgb(173, 142, 40);
/* oklch */ color: oklch(65.8% 0.121 91.1);
Tailwind
colors: {
  custom: {
    50: '#caae6a',
    500: '#ad8e28',
    950: '#000000',
  },
}
SCSS
$custom: #ad8e28;
$custom-light: #caae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#ad8e28",
  "rgb": {
    "r": 173,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 46.015,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65773,
    "c": 0.1208,
    "h": 91.1
  },
  "luminance": 0.28383
}

Semantic roles & 50–950 ramp

primary
#AD8E28
secondary
#6C80C5
accent
#68E642
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141007
muted
#827F7A

Preview Lab

Preview with #AD8E28

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

Preview Lab → · Contrast checker → · Palette generator →

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