#A18B1C#A18B1C

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

Color values

HEX#A18B1C
RGBrgb(161, 139, 28)
HSLhsl(50, 70%, 37%)
HSVhsv(50, 83%, 63%)
CMYKcmyk(0%, 13.7%, 82.6%, 36.9%)
CIE-LABlab(58.16, -3.00, 56.87)
CIE-LCHlch(58.16, 56.94, 93.02°)
OKLaboklab(63.83% -0.0149 0.1226)
OKLCHoklch(63.83% 0.123 97)
XYZxyz(24.1415, 26.1275, 4.8699)
Luminance0.2613 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18B1C #1C32A1
analogous
#A1491C #A18B1C #75A11C
triadic
#A18B1C #1CA18B #8B1CA1
tetradic
#A18B1C #1CA149 #1C32A1 #A11C75
square
#A18B1C #1CA149 #1C32A1 #A11C75
split-complementary
#A18B1C #1C75A1 #491CA1
monochromatic
#39310A #6D5E13 #A18B1C #D5B825 #E2CA56

Accessibility & contrast

On white

3.37
#A18B1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#A18B1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18B1C
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18B1C#FFFFFF#000000##000000
##A18B1C1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a18b1c;
/* rgb */ color: rgb(161, 139, 28);
/* oklch */ color: oklch(63.8% 0.123 97.0);
Tailwind
colors: {
  custom: {
    50: '#c1ac64',
    500: '#a18b1c',
    950: '#000000',
  },
}
SCSS
$custom: #a18b1c;
$custom-light: #c1ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#a18b1c",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 28
  },
  "hsl": {
    "h": 50.075,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63831,
    "c": 0.12349,
    "h": 97
  },
  "luminance": 0.26126
}

Semantic roles & 50–950 ramp

primary
#A18B1C
secondary
#5467C5
accent
#58ED3B
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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