#A5982B#A5982B

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

Color values

HEX#A5982B
RGBrgb(165, 152, 43)
HSLhsl(54, 59%, 41%)
HSVhsv(54, 74%, 65%)
CMYKcmyk(0%, 7.9%, 73.9%, 35.3%)
CIE-LABlab(62.20, -7.63, 55.60)
CIE-LCHlch(62.20, 56.12, 97.81°)
OKLaboklab(67.15% -0.0268 0.1227)
OKLCHoklch(67.15% 0.126 102.3)
XYZxyz(27.1826, 30.6314, 6.7657)
Luminance0.3063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5982B #2B38A5
analogous
#A55B2B #A5982B #75A52B
triadic
#A5982B #2BA598 #982BA5
tetradic
#A5982B #2BA55B #2B38A5 #A52B75
square
#A5982B #2BA55B #2B38A5 #A52B75
split-complementary
#A5982B #2B75A5 #5B2BA5
monochromatic
#443F12 #746B1E #A5982B #CDBE40 #DACF71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5982B#FFFFFF#000000##000000
##A5982B1.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)
#A69317
Deuteranopia (green-blind)
#AA9932
Tritanopia (blue-blind)
#B28D83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a5982b;
/* rgb */ color: rgb(165, 152, 43);
/* oklch */ color: oklch(67.1% 0.126 102.3);
Tailwind
colors: {
  custom: {
    50: '#c3b66c',
    500: '#a5982b',
    950: '#000000',
  },
}
SCSS
$custom: #a5982b;
$custom-light: #c3b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5982b",
  "rgb": {
    "r": 165,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 53.607,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67149,
    "c": 0.12562,
    "h": 102.3
  },
  "luminance": 0.3063
}

Semantic roles & 50–950 ramp

primary
#A5982B
secondary
#6B74C1
accent
#57E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A5982B

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

Preview Lab → · Contrast checker → · Palette generator →

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