#A28C2D#A28C2D

#A28C2D is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.3% C 0.115 H 95.8°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A28C2D
RGBrgb(162, 140, 45)
HSLhsl(49, 57%, 41%)
HSVhsv(49, 72%, 64%)
CMYKcmyk(0%, 13.6%, 72.2%, 36.5%)
CIE-LABlab(58.63, -2.37, 51.24)
CIE-LCHlch(58.63, 51.30, 92.65°)
OKLaboklab(64.26% -0.0115 0.114)
OKLCHoklch(64.26% 0.115 95.8)
XYZxyz(24.7533, 26.6283, 6.3181)
Luminance0.2663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28C2D #2D43A2
analogous
#A2512D #A28C2D #7DA22D
triadic
#A28C2D #2DA28C #8C2DA2
tetradic
#A28C2D #2DA251 #2D43A2 #A22D7D
square
#A28C2D #2DA251 #2D43A2 #A22D7D
split-complementary
#A28C2D #2D7DA2 #512DA2
monochromatic
#423912 #726320 #A28C2D #CAB142 #D8C572

Accessibility & contrast

On white

3.32
#A28C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#A28C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28C2D
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28C2D#FFFFFF#000000##000000
##A28C2D1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891F
Deuteranopia (green-blind)
#A09032
Tritanopia (blue-blind)
#AF8179
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a28c2d;
/* rgb */ color: rgb(162, 140, 45);
/* oklch */ color: oklch(64.3% 0.115 95.8);
Tailwind
colors: {
  custom: {
    50: '#c1ad6c',
    500: '#a28c2d',
    950: '#000000',
  },
}
SCSS
$custom: #a28c2d;
$custom-light: #c1ad6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a28c2d",
  "rgb": {
    "r": 162,
    "g": 140,
    "b": 45
  },
  "hsl": {
    "h": 48.718,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64259,
    "c": 0.11457,
    "h": 95.8
  },
  "luminance": 0.26627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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