#A18518#A18518

#A18518 is a light, vivid yellow. Relative luminance 0.244; OKLCH L 62.5% C 0.121 H 93.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#A18518
RGBrgb(161, 133, 24)
HSLhsl(48, 74%, 36%)
HSVhsv(48, 85%, 63%)
CMYKcmyk(0%, 17.4%, 85.1%, 36.9%)
CIE-LABlab(56.51, 0.19, 56.62)
CIE-LCHlch(56.51, 56.62, 89.81°)
OKLaboklab(62.52% -0.0063 0.1212)
OKLCHoklch(62.52% 0.121 93)
XYZxyz(23.2517, 24.4195, 4.3527)
Luminance0.2442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18518 #1834A1
analogous
#A14118 #A18518 #79A118
triadic
#A18518 #18A185 #8518A1
tetradic
#A18518 #18A141 #1834A1 #A11879
square
#A18518 #18A141 #1834A1 #A11879
split-complementary
#A18518 #1879A1 #4118A1
monochromatic
#362D08 #6C5910 #A18518 #D6B120 #E5C64F

Accessibility & contrast

On white

3.57
#A18518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#A18518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18518
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18518#FFFFFF#000000##000000
##A185181.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#9C8B20
Tritanopia (blue-blind)
#AF7971
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a18518;
/* rgb */ color: rgb(161, 133, 24);
/* oklch */ color: oklch(62.5% 0.121 93.0);
Tailwind
colors: {
  custom: {
    50: '#c1a861',
    500: '#a18518',
    950: '#000000',
  },
}
SCSS
$custom: #a18518;
$custom-light: #c1a861;
$custom-dark: #000000;
JSON
{
  "hex": "#a18518",
  "rgb": {
    "r": 161,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 47.737,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62519,
    "c": 0.12137,
    "h": 93
  },
  "luminance": 0.24418
}

Semantic roles & 50–950 ramp

primary
#A18518
secondary
#4E67C7
accent
#5DF137
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A18518

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

Preview Lab → · Contrast checker → · Palette generator →

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