#A28C28#A28C28

#A28C28 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.2% C 0.118 H 96.2°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A28C28
RGBrgb(162, 140, 40)
HSLhsl(49, 60%, 40%)
HSVhsv(49, 75%, 64%)
CMYKcmyk(0%, 13.6%, 75.3%, 36.5%)
CIE-LABlab(58.59, -2.62, 53.18)
CIE-LCHlch(58.59, 53.25, 92.82°)
OKLaboklab(64.22% -0.0128 0.1171)
OKLCHoklch(64.22% 0.118 96.2)
XYZxyz(24.6627, 26.5921, 5.8408)
Luminance0.2659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28C28 #283EA2
analogous
#A24F28 #A28C28 #7BA228
triadic
#A28C28 #28A28C #8C28A2
tetradic
#A28C28 #28A24F #283EA2 #A2287B
square
#A28C28 #28A24F #283EA2 #A2287B
split-complementary
#A28C28 #287BA2 #4F28A2
monochromatic
#403710 #71621C #A28C28 #CEB339 #DAC66A

Accessibility & contrast

On white

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

On black

6.32
#A28C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28C28
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28C28#FFFFFF#000000##000000
##A28C281.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8917
Deuteranopia (green-blind)
#A0902E
Tritanopia (blue-blind)
#AF8178
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a28c28;
/* rgb */ color: rgb(162, 140, 40);
/* oklch */ color: oklch(64.2% 0.118 96.2);
Tailwind
colors: {
  custom: {
    50: '#c1ad69',
    500: '#a28c28',
    950: '#000000',
  },
}
SCSS
$custom: #a28c28;
$custom-light: #c1ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#a28c28",
  "rgb": {
    "r": 162,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 49.18,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64221,
    "c": 0.11782,
    "h": 96.2
  },
  "luminance": 0.26591
}

Semantic roles & 50–950 ramp

primary
#A28C28
secondary
#6576C1
accent
#61E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28C28

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

Preview Lab → · Contrast checker → · Palette generator →

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