#A18828#A18828

#A18828 is a light, moderate yellow. Relative luminance 0.253; OKLCH L 63.3% C 0.115 H 93.9°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A18828
RGBrgb(161, 136, 40)
HSLhsl(48, 60%, 39%)
HSVhsv(48, 75%, 63%)
CMYKcmyk(0%, 15.5%, 75.2%, 36.9%)
CIE-LABlab(57.41, -0.87, 52.01)
CIE-LCHlch(57.41, 52.01, 90.96°)
OKLaboklab(63.26% -0.0077 0.1147)
OKLCHoklch(63.26% 0.115 93.9)
XYZxyz(23.8864, 25.3400, 5.6400)
Luminance0.2534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18828 #2841A1
analogous
#A14B28 #A18828 #7EA128
triadic
#A18828 #28A188 #8828A1
tetradic
#A18828 #28A14B #2841A1 #A1287E
square
#A18828 #28A14B #2841A1 #A1287E
split-complementary
#A18828 #287EA1 #4B28A1
monochromatic
#3F3510 #705F1C #A18828 #CEAF39 #DAC36A

Accessibility & contrast

On white

3.46
#A18828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#A18828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18828
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18828#FFFFFF#000000##000000
##A188281.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a18828;
/* rgb */ color: rgb(161, 136, 40);
/* oklch */ color: oklch(63.3% 0.115 93.9);
Tailwind
colors: {
  custom: {
    50: '#c1aa69',
    500: '#a18828',
    950: '#000000',
  },
}
SCSS
$custom: #a18828;
$custom-light: #c1aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#a18828",
  "rgb": {
    "r": 161,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 47.603,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63257,
    "c": 0.11494,
    "h": 93.9
  },
  "luminance": 0.25339
}

Semantic roles & 50–950 ramp

primary
#A18828
secondary
#6578C0
accent
#65E344
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18828

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

Preview Lab → · Contrast checker → · Palette generator →

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