#A18118#A18118

#A18118 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.7% C 0.119 H 90.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A18118
RGBrgb(161, 129, 24)
HSLhsl(46, 74%, 36%)
HSVhsv(46, 85%, 63%)
CMYKcmyk(0%, 19.9%, 85.1%, 36.9%)
CIE-LABlab(55.43, 2.41, 55.71)
CIE-LCHlch(55.43, 55.77, 87.52°)
OKLaboklab(61.67% 0 0.1192)
OKLCHoklch(61.67% 0.119 90)
XYZxyz(22.7145, 23.3451, 4.1737)
Luminance0.2334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18118 #1838A1
analogous
#A13C18 #A18118 #7DA118
triadic
#A18118 #18A181 #8118A1
tetradic
#A18118 #18A13C #1838A1 #A1187D
square
#A18118 #18A13C #1838A1 #A1187D
split-complementary
#A18118 #187DA1 #3C18A1
monochromatic
#362C08 #6C5610 #A18118 #D6AC20 #E5C24F

Accessibility & contrast

On white

3.70
#A18118 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#A18118 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18118
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18118#FFFFFF#000000##000000
##A181181.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#99881F
Tritanopia (blue-blind)
#AF756E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a18118;
/* rgb */ color: rgb(161, 129, 24);
/* oklch */ color: oklch(61.7% 0.119 90.0);
Tailwind
colors: {
  custom: {
    50: '#c1a561',
    500: '#a18118',
    950: '#000000',
  },
}
SCSS
$custom: #a18118;
$custom-light: #c1a561;
$custom-dark: #000000;
JSON
{
  "hex": "#a18118",
  "rgb": {
    "r": 161,
    "g": 129,
    "b": 24
  },
  "hsl": {
    "h": 45.985,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61668,
    "c": 0.11921,
    "h": 90
  },
  "luminance": 0.23344
}

Semantic roles & 50–950 ramp

primary
#A18118
secondary
#4E6AC7
accent
#62F137
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A18118

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

Preview Lab → · Contrast checker → · Palette generator →

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