#AD9831#AD9831

#AD9831 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 68.0% C 0.122 H 97.4°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#AD9831
RGBrgb(173, 152, 49)
HSLhsl(50, 56%, 44%)
HSVhsv(50, 72%, 68%)
CMYKcmyk(0%, 12.1%, 71.7%, 32.2%)
CIE-LABlab(62.98, -3.76, 54.30)
CIE-LCHlch(62.98, 54.43, 93.96°)
OKLaboklab(67.96% -0.0157 0.1208)
OKLCHoklch(67.96% 0.122 97.4)
XYZxyz(29.0176, 31.5639, 7.4691)
Luminance0.3156 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD9831 #3146AD
analogous
#AD5A31 #AD9831 #84AD31
triadic
#AD9831 #31AD98 #9831AD
tetradic
#AD9831 #31AD5A #3146AD #AD3184
square
#AD9831 #31AD5A #3146AD #AD3184
split-complementary
#AD9831 #3184AD #5A31AD
monochromatic
#4E4416 #7D6E23 #AD9831 #CDB74E #DACB7E

Accessibility & contrast

On white

2.87
#AD9831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#AD9831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AD9831
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD9831#FFFFFF#000000##000000
##AD98311.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79421
Deuteranopia (green-blind)
#AD9B37
Tritanopia (blue-blind)
#BB8C83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ad9831;
/* rgb */ color: rgb(173, 152, 49);
/* oklch */ color: oklch(68.0% 0.122 97.4);
Tailwind
colors: {
  custom: {
    50: '#c9b670',
    500: '#ad9831',
    950: '#000000',
  },
}
SCSS
$custom: #ad9831;
$custom-light: #c9b670;
$custom-dark: #000000;
JSON
{
  "hex": "#ad9831",
  "rgb": {
    "r": 173,
    "g": 152,
    "b": 49
  },
  "hsl": {
    "h": 49.839,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67962,
    "c": 0.12182,
    "h": 97.4
  },
  "luminance": 0.31562
}

Semantic roles & 50–950 ramp

primary
#AD9831
secondary
#7784C3
accent
#62DF49
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141108
muted
#82807B

Preview Lab

Preview with #AD9831

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

Preview Lab → · Contrast checker → · Palette generator →

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