#A5941F#A5941F

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

Color values

HEX#A5941F
RGBrgb(165, 148, 31)
HSLhsl(52, 68%, 38%)
HSVhsv(52, 81%, 65%)
CMYKcmyk(0%, 10.3%, 81.2%, 35.3%)
CIE-LABlab(61.03, -5.97, 58.61)
CIE-LCHlch(61.03, 58.91, 95.81°)
OKLaboklab(66.2% -0.0233 0.1268)
OKLCHoklch(66.2% 0.129 100.4)
XYZxyz(26.3556, 29.2794, 5.5593)
Luminance0.2928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5941F #1F30A5
analogous
#A5511F #A5941F #73A51F
triadic
#A5941F #1FA594 #941FA5
tetradic
#A5941F #1FA551 #1F30A5 #A51F73
square
#A5941F #1FA551 #1F30A5 #A51F73
split-complementary
#A5941F #1F73A5 #511FA5
monochromatic
#3E380C #716615 #A5941F #D7C12A #E1D05E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5941F#FFFFFF#000000##000000
##A5941F1.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)
#A39000
Deuteranopia (green-blind)
#A89628
Tritanopia (blue-blind)
#B2887F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a5941f;
/* rgb */ color: rgb(165, 148, 31);
/* oklch */ color: oklch(66.2% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#c4b366',
    500: '#a5941f',
    950: '#000000',
  },
}
SCSS
$custom: #a5941f;
$custom-light: #c4b366;
$custom-dark: #000000;
JSON
{
  "hex": "#a5941f",
  "rgb": {
    "r": 165,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 52.388,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66201,
    "c": 0.12889,
    "h": 100.4
  },
  "luminance": 0.29278
}

Semantic roles & 50–950 ramp

primary
#A5941F
secondary
#5B68C5
accent
#53EB3D
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A5941F

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

Preview Lab → · Contrast checker → · Palette generator →

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