#A28728#A28728

#A28728 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 63.1% C 0.114 H 92.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A28728
RGBrgb(162, 135, 40)
HSLhsl(47, 60%, 40%)
HSVhsv(47, 75%, 64%)
CMYKcmyk(0%, 16.7%, 75.3%, 36.5%)
CIE-LABlab(57.23, 0.14, 51.88)
CIE-LCHlch(57.23, 51.88, 89.85°)
OKLaboklab(63.15% -0.0049 0.1144)
OKLCHoklch(63.15% 0.114 92.5)
XYZxyz(23.9486, 25.1640, 5.6028)
Luminance0.2516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28728 #2843A2
analogous
#A24A28 #A28728 #80A228
triadic
#A28728 #28A287 #8728A2
tetradic
#A28728 #28A24A #2843A2 #A22880
square
#A28728 #28A24A #2843A2 #A22880
split-complementary
#A28728 #2880A2 #4A28A2
monochromatic
#403510 #715E1C #A28728 #CEAD39 #DAC16A

Accessibility & contrast

On white

3.48
#A28728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#A28728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28728
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28728#FFFFFF#000000##000000
##A287281.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968518
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#AF7C74
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a28728;
/* rgb */ color: rgb(162, 135, 40);
/* oklch */ color: oklch(63.1% 0.114 92.5);
Tailwind
colors: {
  custom: {
    50: '#c1a969',
    500: '#a28728',
    950: '#000000',
  },
}
SCSS
$custom: #a28728;
$custom-light: #c1a969;
$custom-dark: #000000;
JSON
{
  "hex": "#a28728",
  "rgb": {
    "r": 162,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 46.721,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63146,
    "c": 0.11447,
    "h": 92.5
  },
  "luminance": 0.25163
}

Semantic roles & 50–950 ramp

primary
#A28728
secondary
#6579C1
accent
#68E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #A28728

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

Preview Lab → · Contrast checker → · Palette generator →

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