#AD9F28#AD9F28

#AD9F28 is a light, vivid yellow. Relative luminance 0.338; OKLCH L 69.4% C 0.133 H 102.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#AD9F28
RGBrgb(173, 159, 40)
HSLhsl(54, 62%, 42%)
HSVhsv(54, 77%, 68%)
CMYKcmyk(0%, 8.1%, 76.9%, 32.2%)
CIE-LABlab(64.83, -7.92, 59.41)
CIE-LCHlch(64.83, 59.93, 97.59°)
OKLaboklab(69.41% -0.0284 0.1299)
OKLCHoklch(69.41% 0.133 102.3)
XYZxyz(30.0161, 33.8350, 6.9568)
Luminance0.3383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9F28 #2836AD
analogous
#AD5D28 #AD9F28 #79AD28
triadic
#AD9F28 #28AD9F #9F28AD
tetradic
#AD9F28 #28AD5D #2836AD #AD2879
square
#AD9F28 #28AD5D #2836AD #AD2879
split-complementary
#AD9F28 #2879AD #5D28AD
monochromatic
#4A4411 #7B711D #AD9F28 #D3C33F #DED371

Accessibility & contrast

On white

2.70
#AD9F28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#AD9F28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9F28
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9F28#FFFFFF#000000##000000
##AD9F281.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A0D
Deuteranopia (green-blind)
#B2A031
Tritanopia (blue-blind)
#BB9388
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ad9f28;
/* rgb */ color: rgb(173, 159, 40);
/* oklch */ color: oklch(69.4% 0.133 102.3);
Tailwind
colors: {
  custom: {
    50: '#c9bb6c',
    500: '#ad9f28',
    950: '#000000',
  },
}
SCSS
$custom: #ad9f28;
$custom-light: #c9bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9f28",
  "rgb": {
    "r": 173,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 53.684,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69412,
    "c": 0.13297,
    "h": 102.3
  },
  "luminance": 0.33834
}

Semantic roles & 50–950 ramp

primary
#AD9F28
secondary
#6C75C5
accent
#53E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AD9F28

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

Preview Lab → · Contrast checker → · Palette generator →

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