#A18418#A18418

#A18418 is a light, vivid yellow. Relative luminance 0.241; OKLCH L 62.3% C 0.121 H 92.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A18418
RGBrgb(161, 132, 24)
HSLhsl(47, 74%, 36%)
HSVhsv(47, 85%, 63%)
CMYKcmyk(0%, 18%, 85.1%, 36.9%)
CIE-LABlab(56.23, 0.74, 56.40)
CIE-LCHlch(56.23, 56.40, 89.25°)
OKLaboklab(62.31% -0.0047 0.1207)
OKLCHoklch(62.31% 0.121 92.2)
XYZxyz(23.1155, 24.1470, 4.3073)
Luminance0.2415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18418 #1835A1
analogous
#A14018 #A18418 #7AA118
triadic
#A18418 #18A184 #8418A1
tetradic
#A18418 #18A140 #1835A1 #A1187A
square
#A18418 #18A140 #1835A1 #A1187A
split-complementary
#A18418 #187AA1 #4018A1
monochromatic
#362D08 #6C5810 #A18418 #D6B020 #E5C54F

Accessibility & contrast

On white

3.60
#A18418 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#A18418 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18418
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18418#FFFFFF#000000##000000
##A184181.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#9B8A20
Tritanopia (blue-blind)
#AF7871
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a18418;
/* rgb */ color: rgb(161, 132, 24);
/* oklch */ color: oklch(62.3% 0.121 92.2);
Tailwind
colors: {
  custom: {
    50: '#c1a761',
    500: '#a18418',
    950: '#000000',
  },
}
SCSS
$custom: #a18418;
$custom-light: #c1a761;
$custom-dark: #000000;
JSON
{
  "hex": "#a18418",
  "rgb": {
    "r": 161,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 47.299,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62306,
    "c": 0.1208,
    "h": 92.2
  },
  "luminance": 0.24146
}

Semantic roles & 50–950 ramp

primary
#A18418
secondary
#4E68C7
accent
#5EF137
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A18418

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

Preview Lab → · Contrast checker → · Palette generator →

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