#A8901F#A8901F

#A8901F is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.6% C 0.126 H 96.1°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A8901F
RGBrgb(168, 144, 31)
HSLhsl(49, 69%, 39%)
HSVhsv(49, 82%, 66%)
CMYKcmyk(0%, 14.3%, 81.5%, 34.1%)
CIE-LABlab(60.22, -2.44, 58.01)
CIE-LCHlch(60.22, 58.06, 92.41°)
OKLaboklab(65.63% -0.0135 0.1253)
OKLCHoklch(65.63% 0.126 96.1)
XYZxyz(26.3705, 28.3718, 5.3834)
Luminance0.2837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8901F #1F37A8
analogous
#A84C1F #A8901F #7CA81F
triadic
#A8901F #1FA890 #901FA8
tetradic
#A8901F #1FA84C #1F37A8 #A81F7C
square
#A8901F #1FA84C #1F37A8 #A81F7C
split-complementary
#A8901F #1F7CA8 #4C1FA8
monochromatic
#41370C #746415 #A8901F #D8BA2C #E2CB60

Accessibility & contrast

On white

3.15
#A8901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#A8901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A8901F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8901F#FFFFFF#000000##000000
##A8901F1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A69427
Tritanopia (blue-blind)
#B6847B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a8901f;
/* rgb */ color: rgb(168, 144, 31);
/* oklch */ color: oklch(65.6% 0.126 96.1);
Tailwind
colors: {
  custom: {
    50: '#c6b066',
    500: '#a8901f',
    950: '#000000',
  },
}
SCSS
$custom: #a8901f;
$custom-light: #c6b066;
$custom-dark: #000000;
JSON
{
  "hex": "#a8901f",
  "rgb": {
    "r": 168,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 49.489,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65632,
    "c": 0.12604,
    "h": 96.1
  },
  "luminance": 0.2837
}

Semantic roles & 50–950 ramp

primary
#A8901F
secondary
#5D6FC6
accent
#5BEC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A

Preview Lab

Preview with #A8901F

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

Preview Lab → · Contrast checker → · Palette generator →

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