#AD9927#AD9927

#AD9927 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 68.1% C 0.129 H 98.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#AD9927
RGBrgb(173, 153, 39)
HSLhsl(51, 63%, 42%)
HSVhsv(51, 77%, 68%)
CMYKcmyk(0%, 11.6%, 77.5%, 32.2%)
CIE-LABlab(63.19, -4.76, 58.24)
CIE-LCHlch(63.19, 58.43, 94.67°)
OKLaboklab(68.11% -0.0195 0.1272)
OKLCHoklch(68.11% 0.129 98.7)
XYZxyz(28.9925, 31.8147, 6.5328)
Luminance0.3181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9927 #273BAD
analogous
#AD5627 #AD9927 #7EAD27
triadic
#AD9927 #27AD99 #9927AD
tetradic
#AD9927 #27AD56 #273BAD #AD277E
square
#AD9927 #27AD56 #273BAD #AD277E
split-complementary
#AD9927 #277EAD #5627AD
monochromatic
#494110 #7B6D1C #AD9927 #D3BD3E #DFCE70

Accessibility & contrast

On white

2.85
#AD9927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#AD9927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9927
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9927#FFFFFF#000000##000000
##AD99271.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950E
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#BB8D83
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ad9927;
/* rgb */ color: rgb(173, 153, 39);
/* oklch */ color: oklch(68.1% 0.129 98.7);
Tailwind
colors: {
  custom: {
    50: '#c9b66b',
    500: '#ad9927',
    950: '#000000',
  },
}
SCSS
$custom: #ad9927;
$custom-light: #c9b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9927",
  "rgb": {
    "r": 173,
    "g": 153,
    "b": 39
  },
  "hsl": {
    "h": 51.045,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68107,
    "c": 0.1287,
    "h": 98.7
  },
  "luminance": 0.31813
}

Semantic roles & 50–950 ramp

primary
#AD9927
secondary
#6A78C6
accent
#5AE642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A

Preview Lab

Preview with #AD9927

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

Preview Lab → · Contrast checker → · Palette generator →

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