#A8981F#A8981F

#A8981F 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#A8981F
RGBrgb(168, 152, 31)
HSLhsl(53, 69%, 39%)
HSVhsv(53, 82%, 66%)
CMYKcmyk(0%, 9.5%, 81.5%, 34.1%)
CIE-LABlab(62.41, -6.76, 59.93)
CIE-LCHlch(62.41, 60.31, 96.44°)
OKLaboklab(67.36% -0.0256 0.1295)
OKLCHoklch(67.36% 0.132 101.2)
XYZxyz(27.6254, 30.8816, 5.8017)
Luminance0.3088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8981F #1F2FA8
analogous
#A8541F #A8981F #74A81F
triadic
#A8981F #1FA898 #981FA8
tetradic
#A8981F #1FA854 #1F2FA8 #A81F74
square
#A8981F #1FA854 #1F2FA8 #A81F74
split-complementary
#A8981F #1F74A8 #541FA8
monochromatic
#413B0C #746915 #A8981F #D8C42C #E2D260

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8981F#FFFFFF#000000##000000
##A8981F1.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)
#AC9A29
Tritanopia (blue-blind)
#B68C82
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a8981f;
/* rgb */ color: rgb(168, 152, 31);
/* oklch */ color: oklch(67.4% 0.132 101.2);
Tailwind
colors: {
  custom: {
    50: '#c6b567',
    500: '#a8981f',
    950: '#000000',
  },
}
SCSS
$custom: #a8981f;
$custom-light: #c6b567;
$custom-dark: #000000;
JSON
{
  "hex": "#a8981f",
  "rgb": {
    "r": 168,
    "g": 152,
    "b": 31
  },
  "hsl": {
    "h": 52.993,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67363,
    "c": 0.13198,
    "h": 101.2
  },
  "luminance": 0.3088
}

Semantic roles & 50–950 ramp

primary
#A8981F
secondary
#5D69C6
accent
#51EC3C
background
#FCFBF6
surface
#F9F6EB
border
#D2D0C6
text
#141107
muted
#82807A

Preview Lab

Preview with #A8981F

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

Preview Lab → · Contrast checker → · Palette generator →

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