#A2842A#A2842A

#A2842A is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.5% C 0.111 H 89.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A2842A
RGBrgb(162, 132, 42)
HSLhsl(45, 59%, 40%)
HSVhsv(45, 74%, 64%)
CMYKcmyk(0%, 18.5%, 74.1%, 36.5%)
CIE-LABlab(56.44, 1.90, 50.30)
CIE-LCHlch(56.44, 50.34, 87.84°)
OKLaboklab(62.52% 0.0004 0.1114)
OKLCHoklch(62.52% 0.111 89.8)
XYZxyz(23.5708, 24.3526, 5.6491)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2842A #2A48A2
analogous
#A2482A #A2842A #84A22A
triadic
#A2842A #2AA284 #842AA2
tetradic
#A2842A #2AA248 #2A48A2 #A22A84
square
#A2842A #2AA248 #2A48A2 #A22A84
split-complementary
#A2842A #2A84A2 #482AA2
monochromatic
#413511 #715C1D #A2842A #CDA93D #D9BE6D

Accessibility & contrast

On white

3.58
#A2842A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#A2842A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A2842A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2842A#FFFFFF#000000##000000
##A2842A1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93831C
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#B07972
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a2842a;
/* rgb */ color: rgb(162, 132, 42);
/* oklch */ color: oklch(62.5% 0.111 89.8);
Tailwind
colors: {
  custom: {
    50: '#c1a76a',
    500: '#a2842a',
    950: '#000000',
  },
}
SCSS
$custom: #a2842a;
$custom-light: #c1a76a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2842a",
  "rgb": {
    "r": 162,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 45,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.62523,
    "c": 0.11142,
    "h": 89.8
  },
  "luminance": 0.24351
}

Semantic roles & 50–950 ramp

primary
#A2842A
secondary
#687EC0
accent
#6DE246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A2842A

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

Preview Lab → · Contrast checker → · Palette generator →

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