#A28522#A28522

#A28522 is a light, moderate yellow. Relative luminance 0.246; OKLCH L 62.7% C 0.117 H 91.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A28522
RGBrgb(162, 133, 34)
HSLhsl(46, 65%, 38%)
HSVhsv(46, 79%, 64%)
CMYKcmyk(0%, 17.9%, 79%, 36.5%)
CIE-LABlab(56.66, 0.99, 53.58)
CIE-LCHlch(56.66, 53.59, 88.94°)
OKLaboklab(62.68% -0.0031 0.1167)
OKLCHoklch(62.68% 0.117 91.5)
XYZxyz(23.5779, 24.5734, 5.0143)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28522 #223FA2
analogous
#A24522 #A28522 #7FA222
triadic
#A28522 #22A285 #8522A2
tetradic
#A28522 #22A245 #223FA2 #A2227F
square
#A28522 #22A245 #223FA2 #A2227F
split-complementary
#A28522 #227FA2 #4522A2
monochromatic
#3D320D #6F5B17 #A28522 #D3AE2E #DEC161

Accessibility & contrast

On white

3.55
#A28522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#A28522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28522
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28522#FFFFFF#000000##000000
##A285221.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830D
Deuteranopia (green-blind)
#9C8B28
Tritanopia (blue-blind)
#B07972
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a28522;
/* rgb */ color: rgb(162, 133, 34);
/* oklch */ color: oklch(62.7% 0.117 91.5);
Tailwind
colors: {
  custom: {
    50: '#c2a866',
    500: '#a28522',
    950: '#000000',
  },
}
SCSS
$custom: #a28522;
$custom-light: #c2a866;
$custom-dark: #000000;
JSON
{
  "hex": "#a28522",
  "rgb": {
    "r": 162,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 46.406,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62679,
    "c": 0.11677,
    "h": 91.5
  },
  "luminance": 0.24572
}

Semantic roles & 50–950 ramp

primary
#A28522
secondary
#5D74C3
accent
#66E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A28522

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

Preview Lab → · Contrast checker → · Palette generator →

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