#A28A2D#A28A2D

#A28A2D is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.8% C 0.113 H 94.2°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A28A2D
RGBrgb(162, 138, 45)
HSLhsl(48, 57%, 41%)
HSVhsv(48, 72%, 64%)
CMYKcmyk(0%, 14.8%, 72.2%, 36.5%)
CIE-LABlab(58.08, -1.27, 50.70)
CIE-LCHlch(58.08, 50.71, 91.44°)
OKLaboklab(63.83% -0.0084 0.1128)
OKLCHoklch(63.83% 0.113 94.2)
XYZxyz(24.4637, 26.0492, 6.2216)
Luminance0.2605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28A2D #2D45A2
analogous
#A24F2D #A28A2D #7FA22D
triadic
#A28A2D #2DA28A #8A2DA2
tetradic
#A28A2D #2DA24F #2D45A2 #A22D7F
square
#A28A2D #2DA24F #2D45A2 #A22D7F
split-complementary
#A28A2D #2D7FA2 #4F2DA2
monochromatic
#423812 #726120 #A28A2D #CAAE42 #D8C372

Accessibility & contrast

On white

3.38
#A28A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#A28A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28A2D
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28A2D#FFFFFF#000000##000000
##A28A2D1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871F
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#AF7F77
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a28a2d;
/* rgb */ color: rgb(162, 138, 45);
/* oklch */ color: oklch(63.8% 0.113 94.2);
Tailwind
colors: {
  custom: {
    50: '#c1ab6c',
    500: '#a28a2d',
    950: '#000000',
  },
}
SCSS
$custom: #a28a2d;
$custom-light: #c1ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a28a2d",
  "rgb": {
    "r": 162,
    "g": 138,
    "b": 45
  },
  "hsl": {
    "h": 47.692,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63828,
    "c": 0.11315,
    "h": 94.2
  },
  "luminance": 0.26048
}

Semantic roles & 50–950 ramp

primary
#A28A2D
secondary
#6C7DBF
accent
#67E048
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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