#A28221#A28221

#A28221 is a light, moderate yellow. Relative luminance 0.238; OKLCH L 62.0% C 0.116 H 89.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A28221
RGBrgb(162, 130, 33)
HSLhsl(45, 66%, 38%)
HSVhsv(45, 80%, 64%)
CMYKcmyk(0%, 19.8%, 79.6%, 36.5%)
CIE-LABlab(55.84, 2.62, 53.20)
CIE-LCHlch(55.84, 53.26, 87.18°)
OKLaboklab(62.04% 0.0014 0.1157)
OKLCHoklch(62.04% 0.116 89.3)
XYZxyz(23.1588, 23.7580, 4.8045)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28221 #2141A2
analogous
#A24121 #A28221 #81A221
triadic
#A28221 #21A282 #8221A2
tetradic
#A28221 #21A241 #2141A2 #A22181
square
#A28221 #21A241 #2141A2 #A22181
split-complementary
#A28221 #2181A2 #4121A2
monochromatic
#3C300C #6F5917 #A28221 #D4AA2C #DEBF5F

Accessibility & contrast

On white

3.65
#A28221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#A28221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28221
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28221#FFFFFF#000000##000000
##A282211.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810D
Deuteranopia (green-blind)
#9A8927
Tritanopia (blue-blind)
#B07670
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a28221;
/* rgb */ color: rgb(162, 130, 33);
/* oklch */ color: oklch(62.0% 0.116 89.3);
Tailwind
colors: {
  custom: {
    50: '#c2a665',
    500: '#a28221',
    950: '#000000',
  },
}
SCSS
$custom: #a28221;
$custom-light: #c2a665;
$custom-dark: #000000;
JSON
{
  "hex": "#a28221",
  "rgb": {
    "r": 162,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 45.116,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62036,
    "c": 0.11569,
    "h": 89.3
  },
  "luminance": 0.23756
}

Semantic roles & 50–950 ramp

primary
#A28221
secondary
#5C75C3
accent
#69E93F
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A28221

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

Preview Lab → · Contrast checker → · Palette generator →

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