#A18D1C#A18D1C

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

Color values

HEX#A18D1C
RGBrgb(161, 141, 28)
HSLhsl(51, 70%, 37%)
HSVhsv(51, 83%, 63%)
CMYKcmyk(0%, 12.4%, 82.6%, 36.9%)
CIE-LABlab(58.71, -4.09, 57.34)
CIE-LCHlch(58.71, 57.49, 94.08°)
OKLaboklab(64.27% -0.018 0.1236)
OKLCHoklch(64.27% 0.125 98.3)
XYZxyz(24.4337, 26.7120, 4.9673)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18D1C #1C30A1
analogous
#A14A1C #A18D1C #73A11C
triadic
#A18D1C #1CA18D #8D1CA1
tetradic
#A18D1C #1CA14A #1C30A1 #A11C73
square
#A18D1C #1CA14A #1C30A1 #A11C73
split-complementary
#A18D1C #1C73A1 #4A1CA1
monochromatic
#39320A #6D5F13 #A18D1C #D5BB25 #E2CD56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18D1C#FFFFFF#000000##000000
##A18D1C1.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)
#A19025
Tritanopia (blue-blind)
#AE8278
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a18d1c;
/* rgb */ color: rgb(161, 141, 28);
/* oklch */ color: oklch(64.3% 0.125 98.3);
Tailwind
colors: {
  custom: {
    50: '#c1ad64',
    500: '#a18d1c',
    950: '#000000',
  },
}
SCSS
$custom: #a18d1c;
$custom-light: #c1ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#a18d1c",
  "rgb": {
    "r": 161,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 50.977,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64266,
    "c": 0.12492,
    "h": 98.3
  },
  "luminance": 0.26711
}

Semantic roles & 50–950 ramp

primary
#A18D1C
secondary
#5465C5
accent
#55ED3B
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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