#A5931F#A5931F

#A5931F is a light, vivid yellow. Relative luminance 0.290; OKLCH L 66.0% C 0.128 H 99.8°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A5931F
RGBrgb(165, 147, 31)
HSLhsl(52, 68%, 38%)
HSVhsv(52, 81%, 65%)
CMYKcmyk(0%, 10.9%, 81.2%, 35.3%)
CIE-LABlab(60.75, -5.43, 58.37)
CIE-LCHlch(60.75, 58.62, 95.31°)
OKLaboklab(65.98% -0.0217 0.1262)
OKLCHoklch(65.98% 0.128 99.8)
XYZxyz(26.1994, 28.9670, 5.5072)
Luminance0.2897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5931F #1F31A5
analogous
#A5501F #A5931F #74A51F
triadic
#A5931F #1FA593 #931FA5
tetradic
#A5931F #1FA550 #1F31A5 #A51F74
square
#A5931F #1FA550 #1F31A5 #A51F74
split-complementary
#A5931F #1F74A5 #501FA5
monochromatic
#3E370C #716515 #A5931F #D7C02A #E1CF5E

Accessibility & contrast

On white

3.09
#A5931F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#A5931F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A5931F
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5931F#FFFFFF#000000##000000
##A5931F1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A79528
Tritanopia (blue-blind)
#B2877E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a5931f;
/* rgb */ color: rgb(165, 147, 31);
/* oklch */ color: oklch(66.0% 0.128 99.8);
Tailwind
colors: {
  custom: {
    50: '#c4b266',
    500: '#a5931f',
    950: '#000000',
  },
}
SCSS
$custom: #a5931f;
$custom-light: #c4b266;
$custom-dark: #000000;
JSON
{
  "hex": "#a5931f",
  "rgb": {
    "r": 165,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 51.94,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65983,
    "c": 0.1281,
    "h": 99.8
  },
  "luminance": 0.28966
}

Semantic roles & 50–950 ramp

primary
#A5931F
secondary
#5B69C5
accent
#54EB3D
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A5931F

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

Preview Lab → · Contrast checker → · Palette generator →

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