#AD9E28#AD9E28

#AD9E28 is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.2% C 0.132 H 101.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#AD9E28
RGBrgb(173, 158, 40)
HSLhsl(53, 62%, 42%)
HSVhsv(53, 77%, 68%)
CMYKcmyk(0%, 8.7%, 76.9%, 32.2%)
CIE-LABlab(64.56, -7.39, 59.16)
CIE-LCHlch(64.56, 59.62, 97.12°)
OKLaboklab(69.19% -0.0269 0.1294)
OKLCHoklch(69.19% 0.132 101.7)
XYZxyz(29.8449, 33.4925, 6.8997)
Luminance0.3349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9E28 #2837AD
analogous
#AD5C28 #AD9E28 #7AAD28
triadic
#AD9E28 #28AD9E #9E28AD
tetradic
#AD9E28 #28AD5C #2837AD #AD287A
square
#AD9E28 #28AD5C #2837AD #AD287A
split-complementary
#AD9E28 #287AAD #5C28AD
monochromatic
#4A4311 #7B711D #AD9E28 #D3C23F #DED271

Accessibility & contrast

On white

2.73
#AD9E28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#AD9E28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9E28
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9E28#FFFFFF#000000##000000
##AD9E281.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD990E
Deuteranopia (green-blind)
#B29F31
Tritanopia (blue-blind)
#BB9288
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ad9e28;
/* rgb */ color: rgb(173, 158, 40);
/* oklch */ color: oklch(69.2% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#c9ba6c',
    500: '#ad9e28',
    950: '#000000',
  },
}
SCSS
$custom: #ad9e28;
$custom-light: #c9ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9e28",
  "rgb": {
    "r": 173,
    "g": 158,
    "b": 40
  },
  "hsl": {
    "h": 53.233,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69195,
    "c": 0.13213,
    "h": 101.7
  },
  "luminance": 0.33491
}

Semantic roles & 50–950 ramp

primary
#AD9E28
secondary
#6C76C5
accent
#55E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AD9E28

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

Preview Lab → · Contrast checker → · Palette generator →

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