#A18B31#A18B31

#A18B31 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 64.0% C 0.111 H 95.2°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A18B31
RGBrgb(161, 139, 49)
HSLhsl(48, 53%, 41%)
HSVhsv(48, 70%, 63%)
CMYKcmyk(0%, 13.7%, 69.6%, 36.9%)
CIE-LABlab(58.29, -2.06, 49.18)
CIE-LCHlch(58.29, 49.23, 92.40°)
OKLaboklab(63.98% -0.0101 0.1104)
OKLCHoklch(63.98% 0.111 95.2)
XYZxyz(24.4861, 26.2653, 6.6851)
Luminance0.2626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18B31 #3147A1
analogous
#A15331 #A18B31 #7FA131
triadic
#A18B31 #31A18B #8B31A1
tetradic
#A18B31 #31A153 #3147A1 #A1317F
square
#A18B31 #31A153 #3147A1 #A1317F
split-complementary
#A18B31 #317FA1 #5331A1
monochromatic
#433A14 #726223 #A18B31 #C7AE48 #D6C377

Accessibility & contrast

On white

3.36
#A18B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#A18B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18B31
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18B31#FFFFFF#000000##000000
##A18B311.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998825
Deuteranopia (green-blind)
#9F8F36
Tritanopia (blue-blind)
#AE8079
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a18b31;
/* rgb */ color: rgb(161, 139, 49);
/* oklch */ color: oklch(64.0% 0.111 95.2);
Tailwind
colors: {
  custom: {
    50: '#c0ac6e',
    500: '#a18b31',
    950: '#000000',
  },
}
SCSS
$custom: #a18b31;
$custom-light: #c0ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a18b31",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 48.214,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63976,
    "c": 0.11087,
    "h": 95.2
  },
  "luminance": 0.26264
}

Semantic roles & 50–950 ramp

primary
#A18B31
secondary
#707FBE
accent
#68DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18B31

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

Preview Lab → · Contrast checker → · Palette generator →

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