#A18B18#A18B18

#A18B18 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.8% C 0.125 H 97.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A18B18
RGBrgb(161, 139, 24)
HSLhsl(50, 74%, 36%)
HSVhsv(50, 85%, 63%)
CMYKcmyk(0%, 13.7%, 85.1%, 36.9%)
CIE-LABlab(58.14, -3.12, 58.00)
CIE-LCHlch(58.14, 58.08, 93.08°)
OKLaboklab(63.81% -0.0156 0.1242)
OKLCHoklch(63.81% 0.125 97.2)
XYZxyz(24.0968, 26.1096, 4.6344)
Luminance0.2611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18B18 #182EA1
analogous
#A14718 #A18B18 #73A118
triadic
#A18B18 #18A18B #8B18A1
tetradic
#A18B18 #18A147 #182EA1 #A11873
square
#A18B18 #18A147 #182EA1 #A11873
split-complementary
#A18B18 #1873A1 #4718A1
monochromatic
#362F08 #6C5D10 #A18B18 #D6B920 #E5CD4F

Accessibility & contrast

On white

3.38
#A18B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#A18B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18B18
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18B18#FFFFFF#000000##000000
##A18B181.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#A08F22
Tritanopia (blue-blind)
#AF7F77
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a18b18;
/* rgb */ color: rgb(161, 139, 24);
/* oklch */ color: oklch(63.8% 0.125 97.2);
Tailwind
colors: {
  custom: {
    50: '#c1ac62',
    500: '#a18b18',
    950: '#000000',
  },
}
SCSS
$custom: #a18b18;
$custom-light: #c1ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#a18b18",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 50.365,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63813,
    "c": 0.12521,
    "h": 97.2
  },
  "luminance": 0.26108
}

Semantic roles & 50–950 ramp

primary
#A18B18
secondary
#4E61C7
accent
#55F137
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18B18

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

Preview Lab → · Contrast checker → · Palette generator →

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