#A8981E#A8981E

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

Color values

HEX#A8981E
RGBrgb(168, 152, 30)
HSLhsl(53, 70%, 39%)
HSVhsv(53, 82%, 66%)
CMYKcmyk(0%, 9.5%, 82.1%, 34.1%)
CIE-LABlab(62.40, -6.79, 60.22)
CIE-LCHlch(62.40, 60.60, 96.44°)
OKLaboklab(67.36% -0.0258 0.1299)
OKLCHoklch(67.36% 0.132 101.2)
XYZxyz(27.6124, 30.8764, 5.7333)
Luminance0.3088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8981E #1E2EA8
analogous
#A8531E #A8981E #73A81E
triadic
#A8981E #1EA898 #981EA8
tetradic
#A8981E #1EA853 #1E2EA8 #A81E73
square
#A8981E #1EA853 #1E2EA8 #A81E73
split-complementary
#A8981E #1E73A8 #531EA8
monochromatic
#403A0B #746915 #A8981E #D9C52A #E2D35E

Accessibility & contrast

On white

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

On black

7.18
#A8981E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8981E
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8981E#FFFFFF#000000##000000
##A8981E1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8981e;
/* rgb */ color: rgb(168, 152, 30);
/* oklch */ color: oklch(67.4% 0.132 101.2);
Tailwind
colors: {
  custom: {
    50: '#c6b566',
    500: '#a8981e',
    950: '#000000',
  },
}
SCSS
$custom: #a8981e;
$custom-light: #c6b566;
$custom-dark: #000000;
JSON
{
  "hex": "#a8981e",
  "rgb": {
    "r": 168,
    "g": 152,
    "b": 30
  },
  "hsl": {
    "h": 53.043,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.67359,
    "c": 0.13243,
    "h": 101.2
  },
  "luminance": 0.30875
}

Semantic roles & 50–950 ramp

primary
#A8981E
secondary
#5B68C7
accent
#50ED3B
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141106
muted
#82807A

Preview Lab

Preview with #A8981E

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

Preview Lab → · Contrast checker → · Palette generator →

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