#A18A28#A18A28

#A18A28 is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.7% C 0.116 H 95.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A18A28
RGBrgb(161, 138, 40)
HSLhsl(49, 60%, 39%)
HSVhsv(49, 75%, 63%)
CMYKcmyk(0%, 14.3%, 75.2%, 36.9%)
CIE-LABlab(57.95, -1.97, 52.53)
CIE-LCHlch(57.95, 52.57, 92.15°)
OKLaboklab(63.69% -0.0109 0.1158)
OKLCHoklch(63.69% 0.116 95.4)
XYZxyz(24.1707, 25.9086, 5.7348)
Luminance0.2591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18A28 #283FA1
analogous
#A14E28 #A18A28 #7CA128
triadic
#A18A28 #28A18A #8A28A1
tetradic
#A18A28 #28A14E #283FA1 #A1287C
square
#A18A28 #28A14E #283FA1 #A1287C
split-complementary
#A18A28 #287CA1 #4E28A1
monochromatic
#3F3610 #70601C #A18A28 #CEB139 #DAC56A

Accessibility & contrast

On white

3.40
#A18A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#A18A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18A28
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18A28#FFFFFF#000000##000000
##A18A281.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998717
Deuteranopia (green-blind)
#9F8E2E
Tritanopia (blue-blind)
#AE7F77
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a18a28;
/* rgb */ color: rgb(161, 138, 40);
/* oklch */ color: oklch(63.7% 0.116 95.4);
Tailwind
colors: {
  custom: {
    50: '#c1ab69',
    500: '#a18a28',
    950: '#000000',
  },
}
SCSS
$custom: #a18a28;
$custom-light: #c1ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#a18a28",
  "rgb": {
    "r": 161,
    "g": 138,
    "b": 40
  },
  "hsl": {
    "h": 48.595,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63688,
    "c": 0.1163,
    "h": 95.4
  },
  "luminance": 0.25907
}

Semantic roles & 50–950 ramp

primary
#A18A28
secondary
#6576C0
accent
#63E344
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18A28

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

Preview Lab → · Contrast checker → · Palette generator →

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