#A7982B#A7982B

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

Color values

HEX#A7982B
RGBrgb(167, 152, 43)
HSLhsl(53, 59%, 41%)
HSVhsv(53, 74%, 65%)
CMYKcmyk(0%, 9%, 74.3%, 34.5%)
CIE-LABlab(62.38, -6.73, 55.84)
CIE-LCHlch(62.38, 56.25, 96.87°)
OKLaboklab(67.34% -0.0244 0.1232)
OKLCHoklch(67.34% 0.126 101.2)
XYZxyz(27.6019, 30.8476, 6.7853)
Luminance0.3085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7982B #2B3AA7
analogous
#A75A2B #A7982B #78A72B
triadic
#A7982B #2BA798 #982BA7
tetradic
#A7982B #2BA75A #2B3AA7 #A72B78
square
#A7982B #2BA75A #2B3AA7 #A72B78
split-complementary
#A7982B #2B78A7 #5A2BA7
monochromatic
#463F12 #766C1E #A7982B #CEBD41 #DBCE72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a7982b;
/* rgb */ color: rgb(167, 152, 43);
/* oklch */ color: oklch(67.3% 0.126 101.2);
Tailwind
colors: {
  custom: {
    50: '#c5b66c',
    500: '#a7982b',
    950: '#000000',
  },
}
SCSS
$custom: #a7982b;
$custom-light: #c5b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7982b",
  "rgb": {
    "r": 167,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 52.742,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67339,
    "c": 0.12555,
    "h": 101.2
  },
  "luminance": 0.30846
}

Semantic roles & 50–950 ramp

primary
#A7982B
secondary
#6C76C2
accent
#59E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A7982B

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

Preview Lab → · Contrast checker → · Palette generator →

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