#A28521#A28521

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

Color values

HEX#A28521
RGBrgb(162, 133, 33)
HSLhsl(47, 66%, 38%)
HSVhsv(47, 80%, 64%)
CMYKcmyk(0%, 17.9%, 79.6%, 36.5%)
CIE-LABlab(56.65, 0.95, 53.93)
CIE-LCHlch(56.65, 53.94, 88.99°)
OKLaboklab(62.67% -0.0033 0.1173)
OKLCHoklch(62.67% 0.117 91.6)
XYZxyz(23.5637, 24.5677, 4.9395)
Luminance0.2457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28521 #213EA2
analogous
#A24521 #A28521 #7EA221
triadic
#A28521 #21A285 #8521A2
tetradic
#A28521 #21A245 #213EA2 #A2217E
square
#A28521 #21A245 #213EA2 #A2217E
split-complementary
#A28521 #217EA2 #4521A2
monochromatic
#3C320C #6F5B17 #A28521 #D4AE2C #DEC25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A28521#FFFFFF#000000##000000
##A285211.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)
#95830B
Deuteranopia (green-blind)
#9C8B27
Tritanopia (blue-blind)
#B07972
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a28521;
/* rgb */ color: rgb(162, 133, 33);
/* oklch */ color: oklch(62.7% 0.117 91.6);
Tailwind
colors: {
  custom: {
    50: '#c2a865',
    500: '#a28521',
    950: '#000000',
  },
}
SCSS
$custom: #a28521;
$custom-light: #c2a865;
$custom-dark: #000000;
JSON
{
  "hex": "#a28521",
  "rgb": {
    "r": 162,
    "g": 133,
    "b": 33
  },
  "hsl": {
    "h": 46.512,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62672,
    "c": 0.11732,
    "h": 91.6
  },
  "luminance": 0.24566
}

Semantic roles & 50–950 ramp

primary
#A28521
secondary
#5C73C3
accent
#65E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A28521

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

Preview Lab → · Contrast checker → · Palette generator →

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