#A8931F#A8931F

#A8931F is a light, vivid yellow. Relative luminance 0.293; OKLCH L 66.3% C 0.128 H 98.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A8931F
RGBrgb(168, 147, 31)
HSLhsl(51, 69%, 39%)
HSVhsv(51, 82%, 66%)
CMYKcmyk(0%, 12.5%, 81.5%, 34.1%)
CIE-LABlab(61.04, -4.07, 58.73)
CIE-LCHlch(61.04, 58.87, 93.96°)
OKLaboklab(66.28% -0.0181 0.1269)
OKLCHoklch(66.28% 0.128 98.1)
XYZxyz(26.8309, 29.2926, 5.5368)
Luminance0.2929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8931F #1F34A8
analogous
#A84F1F #A8931F #79A81F
triadic
#A8931F #1FA893 #931FA8
tetradic
#A8931F #1FA84F #1F34A8 #A81F79
square
#A8931F #1FA84F #1F34A8 #A81F79
split-complementary
#A8931F #1F79A8 #4F1FA8
monochromatic
#41390C #746615 #A8931F #D8BE2C #E2CE60

Accessibility & contrast

On white

3.06
#A8931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#A8931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A8931F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8931F#FFFFFF#000000##000000
##A8931F1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A89628
Tritanopia (blue-blind)
#B6877E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a8931f;
/* rgb */ color: rgb(168, 147, 31);
/* oklch */ color: oklch(66.3% 0.128 98.1);
Tailwind
colors: {
  custom: {
    50: '#c6b266',
    500: '#a8931f',
    950: '#000000',
  },
}
SCSS
$custom: #a8931f;
$custom-light: #c6b266;
$custom-dark: #000000;
JSON
{
  "hex": "#a8931f",
  "rgb": {
    "r": 168,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 50.803,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66278,
    "c": 0.12815,
    "h": 98.1
  },
  "luminance": 0.29291
}

Semantic roles & 50–950 ramp

primary
#A8931F
secondary
#5D6DC6
accent
#57EC3C
background
#FCFAF6
surface
#F9F5EB
border
#D2CFC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A8931F

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

Preview Lab → · Contrast checker → · Palette generator →

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