#A28828#A28828

#A28828 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.4% C 0.115 H 93.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A28828
RGBrgb(162, 136, 40)
HSLhsl(47, 60%, 40%)
HSVhsv(47, 75%, 64%)
CMYKcmyk(0%, 16%, 75.3%, 36.5%)
CIE-LABlab(57.51, -0.42, 52.14)
CIE-LCHlch(57.51, 52.14, 90.46°)
OKLaboklab(63.36% -0.0065 0.1149)
OKLCHoklch(63.36% 0.115 93.2)
XYZxyz(24.0888, 25.4443, 5.6495)
Luminance0.2544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28828 #2842A2
analogous
#A24B28 #A28828 #7FA228
triadic
#A28828 #28A288 #8828A2
tetradic
#A28828 #28A24B #2842A2 #A2287F
square
#A28828 #28A24B #2842A2 #A2287F
split-complementary
#A28828 #287FA2 #4B28A2
monochromatic
#403610 #715F1C #A28828 #CEAE39 #DAC26A

Accessibility & contrast

On white

3.45
#A28828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#A28828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28828
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28828#FFFFFF#000000##000000
##A288281.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978618
Deuteranopia (green-blind)
#9E8D2E
Tritanopia (blue-blind)
#AF7D75
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a28828;
/* rgb */ color: rgb(162, 136, 40);
/* oklch */ color: oklch(63.4% 0.115 93.2);
Tailwind
colors: {
  custom: {
    50: '#c1aa69',
    500: '#a28828',
    950: '#000000',
  },
}
SCSS
$custom: #a28828;
$custom-light: #c1aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#a28828",
  "rgb": {
    "r": 162,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 47.213,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6336,
    "c": 0.11509,
    "h": 93.2
  },
  "luminance": 0.25443
}

Semantic roles & 50–950 ramp

primary
#A28828
secondary
#6579C1
accent
#66E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28828

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

Preview Lab → · Contrast checker → · Palette generator →

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