#A5901F#A5901F

#A5901F is a light, vivid yellow. Relative luminance 0.280; OKLCH L 65.3% C 0.126 H 97.8°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A5901F
RGBrgb(165, 144, 31)
HSLhsl(51, 68%, 38%)
HSVhsv(51, 81%, 65%)
CMYKcmyk(0%, 12.7%, 81.2%, 35.3%)
CIE-LABlab(59.93, -3.80, 57.64)
CIE-LCHlch(59.93, 57.77, 93.77°)
OKLaboklab(65.33% -0.0172 0.1247)
OKLCHoklch(65.33% 0.126 97.8)
XYZxyz(25.7390, 28.0462, 5.3538)
Luminance0.2804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5901F #1F34A5
analogous
#A54D1F #A5901F #77A51F
triadic
#A5901F #1FA590 #901FA5
tetradic
#A5901F #1FA54D #1F34A5 #A51F77
square
#A5901F #1FA54D #1F34A5 #A51F77
split-complementary
#A5901F #1F77A5 #4D1FA5
monochromatic
#3E360C #716315 #A5901F #D7BC2A #E1CC5E

Accessibility & contrast

On white

3.18
#A5901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#A5901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A5901F
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5901F#FFFFFF#000000##000000
##A5901F1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#A59328
Tritanopia (blue-blind)
#B3847B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a5901f;
/* rgb */ color: rgb(165, 144, 31);
/* oklch */ color: oklch(65.3% 0.126 97.8);
Tailwind
colors: {
  custom: {
    50: '#c4b066',
    500: '#a5901f',
    950: '#000000',
  },
}
SCSS
$custom: #a5901f;
$custom-light: #c4b066;
$custom-dark: #000000;
JSON
{
  "hex": "#a5901f",
  "rgb": {
    "r": 165,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 50.597,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65331,
    "c": 0.12586,
    "h": 97.8
  },
  "luminance": 0.28045
}

Semantic roles & 50–950 ramp

primary
#A5901F
secondary
#5B6BC5
accent
#58EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A5901F

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

Preview Lab → · Contrast checker → · Palette generator →

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