#A5942B#A5942B

#A5942B is a light, vivid yellow. Relative luminance 0.294; OKLCH L 66.3% C 0.122 H 99.8°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#A5942B
RGBrgb(165, 148, 43)
HSLhsl(52, 59%, 41%)
HSVhsv(52, 74%, 65%)
CMYKcmyk(0%, 10.3%, 73.9%, 35.3%)
CIE-LABlab(61.09, -5.48, 54.54)
CIE-LCHlch(61.09, 54.82, 95.73°)
OKLaboklab(66.27% -0.0207 0.1205)
OKLCHoklch(66.27% 0.122 99.8)
XYZxyz(26.5443, 29.3548, 6.5529)
Luminance0.2935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5942B #2B3CA5
analogous
#A5572B #A5942B #79A52B
triadic
#A5942B #2BA594 #942BA5
tetradic
#A5942B #2BA557 #2B3CA5 #A52B79
square
#A5942B #2BA557 #2B3CA5 #A52B79
split-complementary
#A5942B #2B79A5 #572BA5
monochromatic
#443D12 #74681E #A5942B #CDBA40 #DACB71

Accessibility & contrast

On white

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

On black

6.87
#A5942B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A5942B
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5942B#FFFFFF#000000##000000
##A5942B1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39019
Deuteranopia (green-blind)
#A79632
Tritanopia (blue-blind)
#B2897F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a5942b;
/* rgb */ color: rgb(165, 148, 43);
/* oklch */ color: oklch(66.3% 0.122 99.8);
Tailwind
colors: {
  custom: {
    50: '#c3b36c',
    500: '#a5942b',
    950: '#000000',
  },
}
SCSS
$custom: #a5942b;
$custom-light: #c3b36c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5942b",
  "rgb": {
    "r": 165,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 51.639,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66275,
    "c": 0.12225,
    "h": 99.8
  },
  "luminance": 0.29354
}

Semantic roles & 50–950 ramp

primary
#A5942B
secondary
#6B77C1
accent
#5CE246
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A5942B

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

Preview Lab → · Contrast checker → · Palette generator →

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