#AD982F#AD982F

#AD982F is a light, vivid yellow. Relative luminance 0.315; OKLCH L 67.9% C 0.123 H 97.5°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#AD982F
RGBrgb(173, 152, 47)
HSLhsl(50, 57%, 43%)
HSVhsv(50, 73%, 68%)
CMYKcmyk(0%, 12.1%, 72.8%, 32.2%)
CIE-LABlab(62.97, -3.86, 55.08)
CIE-LCHlch(62.97, 55.22, 94.01°)
OKLaboklab(67.95% -0.0162 0.1221)
OKLCHoklch(67.95% 0.123 97.5)
XYZxyz(28.9763, 31.5474, 7.2518)
Luminance0.3155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD982F #2F44AD
analogous
#AD592F #AD982F #83AD2F
triadic
#AD982F #2FAD98 #982FAD
tetradic
#AD982F #2FAD59 #2F44AD #AD2F83
square
#AD982F #2FAD59 #2F44AD #AD2F83
split-complementary
#AD982F #2F83AD #592FAD
monochromatic
#4D4315 #7D6E22 #AD982F #CEB84B #DBCB7B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AD982F#FFFFFF#000000##000000
##AD982F1.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)
#A7941E
Deuteranopia (green-blind)
#AD9B35
Tritanopia (blue-blind)
#BB8C83
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ad982f;
/* rgb */ color: rgb(173, 152, 47);
/* oklch */ color: oklch(67.9% 0.123 97.5);
Tailwind
colors: {
  custom: {
    50: '#c9b66f',
    500: '#ad982f',
    950: '#000000',
  },
}
SCSS
$custom: #ad982f;
$custom-light: #c9b66f;
$custom-dark: #000000;
JSON
{
  "hex": "#ad982f",
  "rgb": {
    "r": 173,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 50,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67947,
    "c": 0.12315,
    "h": 97.5
  },
  "luminance": 0.31546
}

Semantic roles & 50–950 ramp

primary
#AD982F
secondary
#7481C4
accent
#61E147
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B

Preview Lab

Preview with #AD982F

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

Preview Lab → · Contrast checker → · Palette generator →

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