#A18D28#A18D28

#A18D28 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.3% C 0.118 H 97.5°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A18D28
RGBrgb(161, 141, 40)
HSLhsl(50, 60%, 39%)
HSVhsv(50, 75%, 63%)
CMYKcmyk(0%, 12.4%, 75.2%, 36.9%)
CIE-LABlab(58.77, -3.62, 53.32)
CIE-LCHlch(58.77, 53.44, 93.88°)
OKLaboklab(64.34% -0.0155 0.1175)
OKLCHoklch(64.34% 0.118 97.5)
XYZxyz(24.6071, 26.7813, 5.8803)
Luminance0.2678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18D28 #283CA1
analogous
#A15128 #A18D28 #79A128
triadic
#A18D28 #28A18D #8D28A1
tetradic
#A18D28 #28A151 #283CA1 #A12879
square
#A18D28 #28A151 #283CA1 #A12879
split-complementary
#A18D28 #2879A1 #5128A1
monochromatic
#3F3710 #70621C #A18D28 #CEB539 #DAC76A

Accessibility & contrast

On white

3.30
#A18D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#A18D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18D28
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18D28#FFFFFF#000000##000000
##A18D281.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A16
Deuteranopia (green-blind)
#A1902E
Tritanopia (blue-blind)
#AE8279
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a18d28;
/* rgb */ color: rgb(161, 141, 40);
/* oklch */ color: oklch(64.3% 0.118 97.5);
Tailwind
colors: {
  custom: {
    50: '#c0ae69',
    500: '#a18d28',
    950: '#000000',
  },
}
SCSS
$custom: #a18d28;
$custom-light: #c0ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#a18d28",
  "rgb": {
    "r": 161,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 50.083,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64338,
    "c": 0.11848,
    "h": 97.5
  },
  "luminance": 0.2678
}

Semantic roles & 50–950 ramp

primary
#A18D28
secondary
#6574C0
accent
#5FE344
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18D28

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

Preview Lab → · Contrast checker → · Palette generator →

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