#A7982D#A7982D

#A7982D is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.4% C 0.124 H 101.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#A7982D
RGBrgb(167, 152, 45)
HSLhsl(53, 58%, 42%)
HSVhsv(53, 73%, 65%)
CMYKcmyk(0%, 9%, 73.1%, 34.5%)
CIE-LABlab(62.39, -6.64, 55.10)
CIE-LCHlch(62.39, 55.50, 96.87°)
OKLaboklab(67.35% -0.0239 0.122)
OKLCHoklch(67.35% 0.124 101.1)
XYZxyz(27.6395, 30.8627, 6.9833)
Luminance0.3086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7982D #2D3CA7
analogous
#A75B2D #A7982D #79A72D
triadic
#A7982D #2DA798 #982DA7
tetradic
#A7982D #2DA75B #2D3CA7 #A72D79
square
#A7982D #2DA75B #2D3CA7 #A72D79
split-complementary
#A7982D #2D79A7 #5B2DA7
monochromatic
#474013 #776C20 #A7982D #CDBC44 #DACD75

Accessibility & contrast

On white

2.93
#A7982D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#A7982D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7982D
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7982D#FFFFFF#000000##000000
##A7982D1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7931B
Deuteranopia (green-blind)
#AB9934
Tritanopia (blue-blind)
#B48D83
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a7982d;
/* rgb */ color: rgb(167, 152, 45);
/* oklch */ color: oklch(67.4% 0.124 101.1);
Tailwind
colors: {
  custom: {
    50: '#c5b66d',
    500: '#a7982d',
    950: '#000000',
  },
}
SCSS
$custom: #a7982d;
$custom-light: #c5b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7982d",
  "rgb": {
    "r": 167,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 52.623,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67353,
    "c": 0.12429,
    "h": 101.1
  },
  "luminance": 0.30861
}

Semantic roles & 50–950 ramp

primary
#A7982D
secondary
#6E79C1
accent
#5AE147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A7982D

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

Preview Lab → · Contrast checker → · Palette generator →

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