#A18018#A18018

#A18018 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.5% C 0.119 H 89.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A18018
RGBrgb(161, 128, 24)
HSLhsl(46, 74%, 36%)
HSVhsv(46, 85%, 63%)
CMYKcmyk(0%, 20.5%, 85.1%, 36.9%)
CIE-LABlab(55.16, 2.97, 55.49)
CIE-LCHlch(55.16, 55.57, 86.93°)
OKLaboklab(61.46% 0.0016 0.1187)
OKLCHoklch(61.46% 0.119 89.2)
XYZxyz(22.5834, 23.0829, 4.1300)
Luminance0.2308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18018 #1839A1
analogous
#A13B18 #A18018 #7EA118
triadic
#A18018 #18A180 #8018A1
tetradic
#A18018 #18A13B #1839A1 #A1187E
square
#A18018 #18A13B #1839A1 #A1187E
split-complementary
#A18018 #187EA1 #3B18A1
monochromatic
#362B08 #6C5610 #A18018 #D6AA20 #E5C14F

Accessibility & contrast

On white

3.74
#A18018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#A18018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18018
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18018#FFFFFF#000000##000000
##A180181.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#98881F
Tritanopia (blue-blind)
#AF746D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a18018;
/* rgb */ color: rgb(161, 128, 24);
/* oklch */ color: oklch(61.5% 0.119 89.2);
Tailwind
colors: {
  custom: {
    50: '#c1a460',
    500: '#a18018',
    950: '#000000',
  },
}
SCSS
$custom: #a18018;
$custom-light: #c1a460;
$custom-dark: #000000;
JSON
{
  "hex": "#a18018",
  "rgb": {
    "r": 161,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 45.547,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61456,
    "c": 0.11872,
    "h": 89.2
  },
  "luminance": 0.23081
}

Semantic roles & 50–950 ramp

primary
#A18018
secondary
#4E6BC7
accent
#64F137
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A18018

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

Preview Lab → · Contrast checker → · Palette generator →

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