#A18318#A18318

#A18318 is a light, vivid yellow. Relative luminance 0.239; OKLCH L 62.1% C 0.120 H 91.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A18318
RGBrgb(161, 131, 24)
HSLhsl(47, 74%, 36%)
HSVhsv(47, 85%, 63%)
CMYKcmyk(0%, 18.6%, 85.1%, 36.9%)
CIE-LABlab(55.96, 1.30, 56.17)
CIE-LCHlch(55.96, 56.18, 88.68°)
OKLaboklab(62.09% -0.0031 0.1202)
OKLCHoklch(62.09% 0.12 91.5)
XYZxyz(22.9805, 23.8771, 4.2623)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18318 #1836A1
analogous
#A13F18 #A18318 #7BA118
triadic
#A18318 #18A183 #8318A1
tetradic
#A18318 #18A13F #1836A1 #A1187B
square
#A18318 #18A13F #1836A1 #A1187B
split-complementary
#A18318 #187BA1 #3F18A1
monochromatic
#362C08 #6C5810 #A18318 #D6AE20 #E5C44F

Accessibility & contrast

On white

3.64
#A18318 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#A18318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18318
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18318#FFFFFF#000000##000000
##A183181.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#9A8A20
Tritanopia (blue-blind)
#AF7770
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a18318;
/* rgb */ color: rgb(161, 131, 24);
/* oklch */ color: oklch(62.1% 0.120 91.5);
Tailwind
colors: {
  custom: {
    50: '#c1a661',
    500: '#a18318',
    950: '#000000',
  },
}
SCSS
$custom: #a18318;
$custom-light: #c1a661;
$custom-dark: #000000;
JSON
{
  "hex": "#a18318",
  "rgb": {
    "r": 161,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 46.861,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62092,
    "c": 0.12025,
    "h": 91.5
  },
  "luminance": 0.23876
}

Semantic roles & 50–950 ramp

primary
#A18318
secondary
#4E68C7
accent
#60F137
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A18318

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

Preview Lab → · Contrast checker → · Palette generator →

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