#A28838#A28838

#A28838 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.5% C 0.103 H 91.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A28838
RGBrgb(162, 136, 56)
HSLhsl(45, 49%, 43%)
HSVhsv(45, 65%, 64%)
CMYKcmyk(0%, 16%, 65.4%, 36.5%)
CIE-LABlab(57.63, 0.48, 45.37)
CIE-LCHlch(57.63, 45.37, 89.40°)
OKLaboklab(63.5% -0.002 0.1035)
OKLCHoklch(63.5% 0.103 91.1)
XYZxyz(24.4195, 25.5766, 7.3912)
Luminance0.2557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28838 #3852A2
analogous
#A25338 #A28838 #87A238
triadic
#A28838 #38A288 #8838A2
tetradic
#A28838 #38A253 #3852A2 #A23887
square
#A28838 #38A253 #3852A2 #A23887
split-complementary
#A28838 #3887A2 #5338A2
monochromatic
#473C19 #756228 #A28838 #C4A853 #D3BF81

Accessibility & contrast

On white

3.43
#A28838 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#A28838 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28838
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28838#FFFFFF#000000##000000
##A288381.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96862F
Deuteranopia (green-blind)
#9D8E3C
Tritanopia (blue-blind)
#AF7D77
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a28838;
/* rgb */ color: rgb(162, 136, 56);
/* oklch */ color: oklch(63.5% 0.103 91.1);
Tailwind
colors: {
  custom: {
    50: '#c1aa72',
    500: '#a28838',
    950: '#000000',
  },
}
SCSS
$custom: #a28838;
$custom-light: #c1aa72;
$custom-dark: #000000;
JSON
{
  "hex": "#a28838",
  "rgb": {
    "r": 162,
    "g": 136,
    "b": 56
  },
  "hsl": {
    "h": 45.283,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.63501,
    "c": 0.10348,
    "h": 91.1
  },
  "luminance": 0.25575
}

Semantic roles & 50–950 ramp

primary
#A28838
secondary
#798ABD
accent
#71D850
background
#FCFAF7
surface
#F8F4ED
border
#D1CEC8
text
#131008
muted
#827F7B

Preview Lab

Preview with #A28838

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

Preview Lab → · Contrast checker → · Palette generator →

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