#A28222#A28222

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

Color values

HEX#A28222
RGBrgb(162, 130, 34)
HSLhsl(45, 65%, 38%)
HSVhsv(45, 79%, 64%)
CMYKcmyk(0%, 19.8%, 79%, 36.5%)
CIE-LABlab(55.85, 2.66, 52.84)
CIE-LCHlch(55.85, 52.91, 87.12°)
OKLaboklab(62.04% 0.0016 0.1151)
OKLCHoklch(62.04% 0.115 89.2)
XYZxyz(23.1731, 23.7637, 4.8794)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28222 #2242A2
analogous
#A24222 #A28222 #82A222
triadic
#A28222 #22A282 #8222A2
tetradic
#A28222 #22A242 #2242A2 #A22282
square
#A28222 #22A242 #2242A2 #A22282
split-complementary
#A28222 #2282A2 #4222A2
monochromatic
#3D310D #6F5917 #A28222 #D3AA2E #DEBE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A28222#FFFFFF#000000##000000
##A282221.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)
#92810F
Deuteranopia (green-blind)
#9A8928
Tritanopia (blue-blind)
#B07670
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a28222;
/* rgb */ color: rgb(162, 130, 34);
/* oklch */ color: oklch(62.0% 0.115 89.2);
Tailwind
colors: {
  custom: {
    50: '#c2a665',
    500: '#a28222',
    950: '#000000',
  },
}
SCSS
$custom: #a28222;
$custom-light: #c2a665;
$custom-dark: #000000;
JSON
{
  "hex": "#a28222",
  "rgb": {
    "r": 162,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 45,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.62042,
    "c": 0.11515,
    "h": 89.2
  },
  "luminance": 0.23762
}

Semantic roles & 50–950 ramp

primary
#A28222
secondary
#5D77C3
accent
#6AE840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #A28222

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

Preview Lab → · Contrast checker → · Palette generator →

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