#A8941F#A8941F

#A8941F is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.5% C 0.129 H 98.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A8941F
RGBrgb(168, 148, 31)
HSLhsl(51, 69%, 39%)
HSVhsv(51, 82%, 66%)
CMYKcmyk(0%, 11.9%, 81.5%, 34.1%)
CIE-LABlab(61.31, -4.61, 58.97)
CIE-LCHlch(61.31, 59.15, 94.47°)
OKLaboklab(66.49% -0.0196 0.1274)
OKLCHoklch(66.49% 0.129 98.7)
XYZxyz(26.9871, 29.6050, 5.5889)
Luminance0.2960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8941F #1F33A8
analogous
#A8501F #A8941F #78A81F
triadic
#A8941F #1FA894 #941FA8
tetradic
#A8941F #1FA850 #1F33A8 #A81F78
square
#A8941F #1FA850 #1F33A8 #A81F78
split-complementary
#A8941F #1F78A8 #501FA8
monochromatic
#41390C #746615 #A8941F #D8BF2C #E2CF60

Accessibility & contrast

On white

3.03
#A8941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#A8941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A8941F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8941F#FFFFFF#000000##000000
##A8941F1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#A99728
Tritanopia (blue-blind)
#B6887F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a8941f;
/* rgb */ color: rgb(168, 148, 31);
/* oklch */ color: oklch(66.5% 0.129 98.7);
Tailwind
colors: {
  custom: {
    50: '#c6b366',
    500: '#a8941f',
    950: '#000000',
  },
}
SCSS
$custom: #a8941f;
$custom-light: #c6b366;
$custom-dark: #000000;
JSON
{
  "hex": "#a8941f",
  "rgb": {
    "r": 168,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 51.241,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66494,
    "c": 0.12889,
    "h": 98.7
  },
  "luminance": 0.29604
}

Semantic roles & 50–950 ramp

primary
#A8941F
secondary
#5D6CC6
accent
#56EC3C
background
#FCFAF6
surface
#F9F5EB
border
#D2CFC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A8941F

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

Preview Lab → · Contrast checker → · Palette generator →

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