#A18C1C#A18C1C

#A18C1C is a light, vivid yellow. Relative luminance 0.264; OKLCH L 64.0% C 0.124 H 97.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A18C1C
RGBrgb(161, 140, 28)
HSLhsl(51, 70%, 37%)
HSVhsv(51, 83%, 63%)
CMYKcmyk(0%, 13%, 82.6%, 36.9%)
CIE-LABlab(58.43, -3.54, 57.10)
CIE-LCHlch(58.43, 57.21, 93.55°)
OKLaboklab(64.05% -0.0165 0.1231)
OKLCHoklch(64.05% 0.124 97.6)
XYZxyz(24.2869, 26.4184, 4.9184)
Luminance0.2642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18C1C #1C31A1
analogous
#A1491C #A18C1C #74A11C
triadic
#A18C1C #1CA18C #8C1CA1
tetradic
#A18C1C #1CA149 #1C31A1 #A11C74
square
#A18C1C #1CA149 #1C31A1 #A11C74
split-complementary
#A18C1C #1C74A1 #491CA1
monochromatic
#39310A #6D5F13 #A18C1C #D5B925 #E2CC56

Accessibility & contrast

On white

3.34
#A18C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#A18C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18C1C
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18C1C#FFFFFF#000000##000000
##A18C1C1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#A18F25
Tritanopia (blue-blind)
#AE8178
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a18c1c;
/* rgb */ color: rgb(161, 140, 28);
/* oklch */ color: oklch(64.0% 0.124 97.6);
Tailwind
colors: {
  custom: {
    50: '#c1ad64',
    500: '#a18c1c',
    950: '#000000',
  },
}
SCSS
$custom: #a18c1c;
$custom-light: #c1ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#a18c1c",
  "rgb": {
    "r": 161,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 50.526,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64049,
    "c": 0.1242,
    "h": 97.6
  },
  "luminance": 0.26417
}

Semantic roles & 50–950 ramp

primary
#A18C1C
secondary
#5466C5
accent
#57ED3B
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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