#A18D31#A18D31

#A18D31 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.4% C 0.112 H 96.8°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A18D31
RGBrgb(161, 141, 49)
HSLhsl(49, 53%, 41%)
HSVhsv(49, 70%, 63%)
CMYKcmyk(0%, 12.4%, 69.6%, 36.9%)
CIE-LABlab(58.84, -3.15, 49.74)
CIE-LCHlch(58.84, 49.84, 93.63°)
OKLaboklab(64.41% -0.0132 0.1116)
OKLCHoklch(64.41% 0.112 96.8)
XYZxyz(24.7784, 26.8498, 6.7825)
Luminance0.2685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18D31 #3145A1
analogous
#A15531 #A18D31 #7DA131
triadic
#A18D31 #31A18D #8D31A1
tetradic
#A18D31 #31A155 #3145A1 #A1317D
square
#A18D31 #31A155 #3145A1 #A1317D
split-complementary
#A18D31 #317DA1 #5531A1
monochromatic
#433B14 #726423 #A18D31 #C7B148 #D6C577

Accessibility & contrast

On white

3.30
#A18D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#A18D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18D31
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18D31#FFFFFF#000000##000000
##A18D311.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A25
Deuteranopia (green-blind)
#A09036
Tritanopia (blue-blind)
#AE827A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a18d31;
/* rgb */ color: rgb(161, 141, 49);
/* oklch */ color: oklch(64.4% 0.112 96.8);
Tailwind
colors: {
  custom: {
    50: '#c0ae6e',
    500: '#a18d31',
    950: '#000000',
  },
}
SCSS
$custom: #a18d31;
$custom-light: #c0ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a18d31",
  "rgb": {
    "r": 161,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 49.286,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64409,
    "c": 0.11238,
    "h": 96.8
  },
  "luminance": 0.26849
}

Semantic roles & 50–950 ramp

primary
#A18D31
secondary
#707EBE
accent
#65DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18D31

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

Preview Lab → · Contrast checker → · Palette generator →

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