#A28E2D#A28E2D

#A28E2D is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.7% C 0.116 H 97.2°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A28E2D
RGBrgb(162, 142, 45)
HSLhsl(50, 57%, 41%)
HSVhsv(50, 72%, 64%)
CMYKcmyk(0%, 12.3%, 72.2%, 36.5%)
CIE-LABlab(59.18, -3.47, 51.78)
CIE-LCHlch(59.18, 51.90, 93.83°)
OKLaboklab(64.69% -0.0146 0.1151)
OKLCHoklch(64.69% 0.116 97.2)
XYZxyz(25.0482, 27.2181, 6.4164)
Luminance0.2722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28E2D #2D41A2
analogous
#A2542D #A28E2D #7BA22D
triadic
#A28E2D #2DA28E #8E2DA2
tetradic
#A28E2D #2DA254 #2D41A2 #A22D7B
square
#A28E2D #2DA254 #2D41A2 #A22D7B
split-complementary
#A28E2D #2D7BA2 #542DA2
monochromatic
#423A12 #726420 #A28E2D #CAB342 #D8C672

Accessibility & contrast

On white

3.26
#A28E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#A28E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28E2D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28E2D#FFFFFF#000000##000000
##A28E2D1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B1E
Deuteranopia (green-blind)
#A29133
Tritanopia (blue-blind)
#AF837B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a28e2d;
/* rgb */ color: rgb(162, 142, 45);
/* oklch */ color: oklch(64.7% 0.116 97.2);
Tailwind
colors: {
  custom: {
    50: '#c1ae6c',
    500: '#a28e2d',
    950: '#000000',
  },
}
SCSS
$custom: #a28e2d;
$custom-light: #c1ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a28e2d",
  "rgb": {
    "r": 162,
    "g": 142,
    "b": 45
  },
  "hsl": {
    "h": 49.744,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64692,
    "c": 0.11607,
    "h": 97.2
  },
  "luminance": 0.27217
}

Semantic roles & 50–950 ramp

primary
#A28E2D
secondary
#6C7ABF
accent
#62E048
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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