#A5921F#A5921F

#A5921F is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.8% C 0.127 H 99.1°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A5921F
RGBrgb(165, 146, 31)
HSLhsl(51, 68%, 38%)
HSVhsv(51, 81%, 65%)
CMYKcmyk(0%, 11.5%, 81.2%, 35.3%)
CIE-LABlab(60.48, -4.89, 58.13)
CIE-LCHlch(60.48, 58.33, 94.81°)
OKLaboklab(65.77% -0.0202 0.1257)
OKLCHoklch(65.77% 0.127 99.1)
XYZxyz(26.0446, 28.6574, 5.4556)
Luminance0.2866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5921F #1F32A5
analogous
#A54F1F #A5921F #75A51F
triadic
#A5921F #1FA592 #921FA5
tetradic
#A5921F #1FA54F #1F32A5 #A51F75
square
#A5921F #1FA54F #1F32A5 #A51F75
split-complementary
#A5921F #1F75A5 #4F1FA5
monochromatic
#3E370C #716415 #A5921F #D7BF2A #E1CE5E

Accessibility & contrast

On white

3.12
#A5921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#A5921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A5921F
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5921F#FFFFFF#000000##000000
##A5921F1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A69528
Tritanopia (blue-blind)
#B2867D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a5921f;
/* rgb */ color: rgb(165, 146, 31);
/* oklch */ color: oklch(65.8% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#c4b166',
    500: '#a5921f',
    950: '#000000',
  },
}
SCSS
$custom: #a5921f;
$custom-light: #c4b166;
$custom-dark: #000000;
JSON
{
  "hex": "#a5921f",
  "rgb": {
    "r": 165,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 51.493,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65765,
    "c": 0.12734,
    "h": 99.1
  },
  "luminance": 0.28656
}

Semantic roles & 50–950 ramp

primary
#A5921F
secondary
#5B6AC5
accent
#55EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A5921F

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

Preview Lab → · Contrast checker → · Palette generator →

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