#A7981E#A7981E

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

Color values

HEX#A7981E
RGBrgb(167, 152, 30)
HSLhsl(53, 70%, 39%)
HSVhsv(53, 82%, 65%)
CMYKcmyk(0%, 9%, 82%, 34.5%)
CIE-LABlab(62.31, -7.24, 60.10)
CIE-LCHlch(62.31, 60.53, 96.87°)
OKLaboklab(67.26% -0.027 0.1297)
OKLCHoklch(67.26% 0.132 101.8)
XYZxyz(27.4003, 30.7670, 5.7234)
Luminance0.3077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7981E #1E2DA7
analogous
#A7531E #A7981E #71A71E
triadic
#A7981E #1EA798 #981EA7
tetradic
#A7981E #1EA753 #1E2DA7 #A71E71
square
#A7981E #1EA753 #1E2DA7 #A71E71
split-complementary
#A7981E #1E71A7 #531EA7
monochromatic
#3F3A0B #736915 #A7981E #D9C52A #E2D35D

Accessibility & contrast

On white

2.94
#A7981E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#A7981E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7981E
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7981E#FFFFFF#000000##000000
##A7981E1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#AB9928
Tritanopia (blue-blind)
#B48C82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a7981e;
/* rgb */ color: rgb(167, 152, 30);
/* oklch */ color: oklch(67.3% 0.132 101.8);
Tailwind
colors: {
  custom: {
    50: '#c5b566',
    500: '#a7981e',
    950: '#000000',
  },
}
SCSS
$custom: #a7981e;
$custom-light: #c5b566;
$custom-dark: #000000;
JSON
{
  "hex": "#a7981e",
  "rgb": {
    "r": 167,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 53.431,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.67263,
    "c": 0.13248,
    "h": 101.8
  },
  "luminance": 0.30766
}

Semantic roles & 50–950 ramp

primary
#A7981E
secondary
#5B66C6
accent
#4FEC3B
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #A7981E

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

Preview Lab → · Contrast checker → · Palette generator →

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