#A5982A#A5982A

#A5982A is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.1% C 0.126 H 102.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A5982A
RGBrgb(165, 152, 42)
HSLhsl(54, 59%, 41%)
HSVhsv(54, 75%, 65%)
CMYKcmyk(0%, 7.9%, 74.5%, 35.3%)
CIE-LABlab(62.19, -7.67, 55.97)
CIE-LCHlch(62.19, 56.49, 97.81°)
OKLaboklab(67.14% -0.027 0.1233)
OKLCHoklch(67.14% 0.126 102.4)
XYZxyz(27.1644, 30.6242, 6.6702)
Luminance0.3062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5982A #2A37A5
analogous
#A55B2A #A5982A #74A52A
triadic
#A5982A #2AA598 #982AA5
tetradic
#A5982A #2AA55B #2A37A5 #A52A74
square
#A5982A #2AA55B #2A37A5 #A52A74
split-complementary
#A5982A #2A74A5 #5B2AA5
monochromatic
#433E11 #746B1E #A5982A #CEBF3E #DACF6F

Accessibility & contrast

On white

2.95
#A5982A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#A5982A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5982A
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5982A#FFFFFF#000000##000000
##A5982A1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69316
Deuteranopia (green-blind)
#AA9932
Tritanopia (blue-blind)
#B28D83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a5982a;
/* rgb */ color: rgb(165, 152, 42);
/* oklch */ color: oklch(67.1% 0.126 102.4);
Tailwind
colors: {
  custom: {
    50: '#c3b66c',
    500: '#a5982a',
    950: '#000000',
  },
}
SCSS
$custom: #a5982a;
$custom-light: #c3b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5982a",
  "rgb": {
    "r": 165,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 53.659,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67143,
    "c": 0.12624,
    "h": 102.4
  },
  "luminance": 0.30623
}

Semantic roles & 50–950 ramp

primary
#A5982A
secondary
#6973C1
accent
#56E345
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A5982A

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

Preview Lab → · Contrast checker → · Palette generator →

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