#A18C18#A18C18

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

Color values

HEX#A18C18
RGBrgb(161, 140, 24)
HSLhsl(51, 74%, 36%)
HSVhsv(51, 85%, 63%)
CMYKcmyk(0%, 13%, 85.1%, 36.9%)
CIE-LABlab(58.42, -3.67, 58.23)
CIE-LCHlch(58.42, 58.34, 93.60°)
OKLaboklab(64.03% -0.0172 0.1247)
OKLCHoklch(64.03% 0.126 97.8)
XYZxyz(24.2422, 26.4005, 4.6829)
Luminance0.2640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18C18 #182DA1
analogous
#A14818 #A18C18 #72A118
triadic
#A18C18 #18A18C #8C18A1
tetradic
#A18C18 #18A148 #182DA1 #A11872
square
#A18C18 #18A148 #182DA1 #A11872
split-complementary
#A18C18 #1872A1 #4818A1
monochromatic
#362F08 #6C5E10 #A18C18 #D6BA20 #E5CE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18C18#FFFFFF#000000##000000
##A18C181.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)
#A18F22
Tritanopia (blue-blind)
#AE8077
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a18c18;
/* rgb */ color: rgb(161, 140, 24);
/* oklch */ color: oklch(64.0% 0.126 97.8);
Tailwind
colors: {
  custom: {
    50: '#c1ad62',
    500: '#a18c18',
    950: '#000000',
  },
}
SCSS
$custom: #a18c18;
$custom-light: #c1ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#a18c18",
  "rgb": {
    "r": 161,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 50.803,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6403,
    "c": 0.1259,
    "h": 97.8
  },
  "luminance": 0.26399
}

Semantic roles & 50–950 ramp

primary
#A18C18
secondary
#4E60C7
accent
#54F137
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18C18

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

Preview Lab → · Contrast checker → · Palette generator →

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