#A28D2D#A28D2D

#A28D2D is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.5% C 0.115 H 96.5°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A28D2D
RGBrgb(162, 141, 45)
HSLhsl(49, 57%, 41%)
HSVhsv(49, 72%, 64%)
CMYKcmyk(0%, 13%, 72.2%, 36.5%)
CIE-LABlab(58.90, -2.92, 51.51)
CIE-LCHlch(58.90, 51.60, 93.25°)
OKLaboklab(64.48% -0.0131 0.1146)
OKLCHoklch(64.48% 0.115 96.5)
XYZxyz(24.9001, 26.9219, 6.3670)
Luminance0.2692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28D2D #2D42A2
analogous
#A2522D #A28D2D #7CA22D
triadic
#A28D2D #2DA28D #8D2DA2
tetradic
#A28D2D #2DA252 #2D42A2 #A22D7C
square
#A28D2D #2DA252 #2D42A2 #A22D7C
split-complementary
#A28D2D #2D7CA2 #522DA2
monochromatic
#423A12 #726320 #A28D2D #CAB242 #D8C572

Accessibility & contrast

On white

3.29
#A28D2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#A28D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28D2D
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28D2D#FFFFFF#000000##000000
##A28D2D1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A1F
Deuteranopia (green-blind)
#A19133
Tritanopia (blue-blind)
#AF827A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a28d2d;
/* rgb */ color: rgb(162, 141, 45);
/* oklch */ color: oklch(64.5% 0.115 96.5);
Tailwind
colors: {
  custom: {
    50: '#c1ae6c',
    500: '#a28d2d',
    950: '#000000',
  },
}
SCSS
$custom: #a28d2d;
$custom-light: #c1ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a28d2d",
  "rgb": {
    "r": 162,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 49.231,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64475,
    "c": 0.11531,
    "h": 96.5
  },
  "luminance": 0.26921
}

Semantic roles & 50–950 ramp

primary
#A28D2D
secondary
#6C7BBF
accent
#63E048
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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