#A28D2A#A28D2A

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

Color values

HEX#A28D2A
RGBrgb(162, 141, 42)
HSLhsl(50, 59%, 40%)
HSVhsv(50, 74%, 64%)
CMYKcmyk(0%, 13%, 74.1%, 36.5%)
CIE-LABlab(58.88, -3.07, 52.69)
CIE-LCHlch(58.88, 52.78, 93.34°)
OKLaboklab(64.45% -0.0138 0.1165)
OKLCHoklch(64.45% 0.117 96.8)
XYZxyz(24.8443, 26.8996, 6.0736)
Luminance0.2690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28D2A #2A3FA2
analogous
#A2512A #A28D2A #7BA22A
triadic
#A28D2A #2AA28D #8D2AA2
tetradic
#A28D2A #2AA251 #2A3FA2 #A22A7B
square
#A28D2A #2AA251 #2A3FA2 #A22A7B
split-complementary
#A28D2A #2A7BA2 #512AA2
monochromatic
#413811 #71631D #A28D2A #CDB33D #D9C66D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A28D2A#FFFFFF#000000##000000
##A28D2A1.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)
#9C8A1A
Deuteranopia (green-blind)
#A19130
Tritanopia (blue-blind)
#AF8279
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a28d2a;
/* rgb */ color: rgb(162, 141, 42);
/* oklch */ color: oklch(64.5% 0.117 96.8);
Tailwind
colors: {
  custom: {
    50: '#c1ae6b',
    500: '#a28d2a',
    950: '#000000',
  },
}
SCSS
$custom: #a28d2a;
$custom-light: #c1ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a28d2a",
  "rgb": {
    "r": 162,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 49.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.64452,
    "c": 0.1173,
    "h": 96.8
  },
  "luminance": 0.26898
}

Semantic roles & 50–950 ramp

primary
#A28D2A
secondary
#6877C0
accent
#61E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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