#A18D18#A18D18

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

Color values

HEX#A18D18
RGBrgb(161, 141, 24)
HSLhsl(51, 74%, 36%)
HSVhsv(51, 85%, 63%)
CMYKcmyk(0%, 12.4%, 85.1%, 36.9%)
CIE-LABlab(58.69, -4.21, 58.46)
CIE-LCHlch(58.69, 58.61, 94.12°)
OKLaboklab(64.25% -0.0187 0.1252)
OKLCHoklch(64.25% 0.127 98.5)
XYZxyz(24.3890, 26.6941, 4.7318)
Luminance0.2669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18D18 #182CA1
analogous
#A14918 #A18D18 #71A118
triadic
#A18D18 #18A18D #8D18A1
tetradic
#A18D18 #18A149 #182CA1 #A11871
square
#A18D18 #18A149 #182CA1 #A11871
split-complementary
#A18D18 #1871A1 #4918A1
monochromatic
#363008 #6C5E10 #A18D18 #D6BC20 #E5CF4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18D18#FFFFFF#000000##000000
##A18D181.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)
#A19022
Tritanopia (blue-blind)
#AE8178
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a18d18;
/* rgb */ color: rgb(161, 141, 24);
/* oklch */ color: oklch(64.2% 0.127 98.5);
Tailwind
colors: {
  custom: {
    50: '#c1ad62',
    500: '#a18d18',
    950: '#000000',
  },
}
SCSS
$custom: #a18d18;
$custom-light: #c1ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#a18d18",
  "rgb": {
    "r": 161,
    "g": 141,
    "b": 24
  },
  "hsl": {
    "h": 51.241,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64248,
    "c": 0.12663,
    "h": 98.5
  },
  "luminance": 0.26693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A18D18

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

Preview Lab → · Contrast checker → · Palette generator →

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