#A5982D#A5982D

#A5982D is a light, vivid yellow. Relative luminance 0.306; OKLCH L 67.2% C 0.124 H 102.2°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#A5982D
RGBrgb(165, 152, 45)
HSLhsl(54, 57%, 41%)
HSVhsv(54, 73%, 65%)
CMYKcmyk(0%, 7.9%, 72.7%, 35.3%)
CIE-LABlab(62.21, -7.53, 54.86)
CIE-LCHlch(62.21, 55.37, 97.81°)
OKLaboklab(67.16% -0.0263 0.1215)
OKLCHoklch(67.16% 0.124 102.2)
XYZxyz(27.2201, 30.6464, 6.9637)
Luminance0.3065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5982D #2D3AA5
analogous
#A55C2D #A5982D #76A52D
triadic
#A5982D #2DA598 #982DA5
tetradic
#A5982D #2DA55C #2D3AA5 #A52D76
square
#A5982D #2DA55C #2D3AA5 #A52D76
split-complementary
#A5982D #2D76A5 #5C2DA5
monochromatic
#453F13 #756C20 #A5982D #CCBD43 #D9CE73

Accessibility & contrast

On white

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

On black

7.13
#A5982D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5982D
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5982D#FFFFFF#000000##000000
##A5982D1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5982d;
/* rgb */ color: rgb(165, 152, 45);
/* oklch */ color: oklch(67.2% 0.124 102.2);
Tailwind
colors: {
  custom: {
    50: '#c3b66d',
    500: '#a5982d',
    950: '#000000',
  },
}
SCSS
$custom: #a5982d;
$custom-light: #c3b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5982d",
  "rgb": {
    "r": 165,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 53.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67164,
    "c": 0.12436,
    "h": 102.2
  },
  "luminance": 0.30645
}

Semantic roles & 50–950 ramp

primary
#A5982D
secondary
#6D76C1
accent
#58E047
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A5982D

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

Preview Lab → · Contrast checker → · Palette generator →

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