#A18D1A#A18D1A

#A18D1A is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.3% C 0.126 H 98.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A18D1A
RGBrgb(161, 141, 26)
HSLhsl(51, 72%, 37%)
HSVhsv(51, 84%, 63%)
CMYKcmyk(0%, 12.4%, 83.9%, 36.9%)
CIE-LABlab(58.70, -4.15, 57.92)
CIE-LCHlch(58.70, 58.06, 94.10°)
OKLaboklab(64.26% -0.0184 0.1245)
OKLCHoklch(64.26% 0.126 98.4)
XYZxyz(24.4106, 26.7027, 4.8455)
Luminance0.2670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18D1A #1A2EA1
analogous
#A14A1A #A18D1A #72A11A
triadic
#A18D1A #1AA18D #8D1AA1
tetradic
#A18D1A #1AA14A #1A2EA1 #A11A72
square
#A18D1A #1AA14A #1A2EA1 #A11A72
split-complementary
#A18D1A #1A72A1 #4A1AA1
monochromatic
#383109 #6C5F11 #A18D1A #D6BB23 #E3CE52

Accessibility & contrast

On white

3.31
#A18D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#A18D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18D1A
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18D1A#FFFFFF#000000##000000
##A18D1A1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#A19024
Tritanopia (blue-blind)
#AE8278
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a18d1a;
/* rgb */ color: rgb(161, 141, 26);
/* oklch */ color: oklch(64.3% 0.126 98.4);
Tailwind
colors: {
  custom: {
    50: '#c1ad63',
    500: '#a18d1a',
    950: '#000000',
  },
}
SCSS
$custom: #a18d1a;
$custom-light: #c1ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#a18d1a",
  "rgb": {
    "r": 161,
    "g": 141,
    "b": 26
  },
  "hsl": {
    "h": 51.111,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.64257,
    "c": 0.1258,
    "h": 98.4
  },
  "luminance": 0.26701
}

Semantic roles & 50–950 ramp

primary
#A18D1A
secondary
#5162C6
accent
#54EF39
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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