#A7982A#A7982A

#A7982A is a light, vivid yellow. Relative luminance 0.308; OKLCH L 67.3% C 0.126 H 101.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#A7982A
RGBrgb(167, 152, 42)
HSLhsl(53, 60%, 41%)
HSVhsv(53, 75%, 65%)
CMYKcmyk(0%, 9%, 74.9%, 34.5%)
CIE-LABlab(62.37, -6.78, 56.21)
CIE-LCHlch(62.37, 56.61, 96.88°)
OKLaboklab(67.33% -0.0246 0.1237)
OKLCHoklch(67.33% 0.126 101.3)
XYZxyz(27.5838, 30.8404, 6.6899)
Luminance0.3084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7982A #2A39A7
analogous
#A7592A #A7982A #77A72A
triadic
#A7982A #2AA798 #982AA7
tetradic
#A7982A #2AA759 #2A39A7 #A72A77
square
#A7982A #2AA759 #2A39A7 #A72A77
split-complementary
#A7982A #2A77A7 #592AA7
monochromatic
#453F11 #766B1E #A7982A #CFBE3F #DBCE70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7982A#FFFFFF#000000##000000
##A7982A1.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)
#A79315
Deuteranopia (green-blind)
#AB9932
Tritanopia (blue-blind)
#B48D83
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a7982a;
/* rgb */ color: rgb(167, 152, 42);
/* oklch */ color: oklch(67.3% 0.126 101.3);
Tailwind
colors: {
  custom: {
    50: '#c5b66c',
    500: '#a7982a',
    950: '#000000',
  },
}
SCSS
$custom: #a7982a;
$custom-light: #c5b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7982a",
  "rgb": {
    "r": 167,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 52.8,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67332,
    "c": 0.12617,
    "h": 101.3
  },
  "luminance": 0.30839
}

Semantic roles & 50–950 ramp

primary
#A7982A
secondary
#6B75C2
accent
#58E345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A7982A

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

Preview Lab → · Contrast checker → · Palette generator →

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