#A18B1B#A18B1B

#A18B1B is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.8% C 0.124 H 97.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A18B1B
RGBrgb(161, 139, 27)
HSLhsl(50, 71%, 37%)
HSVhsv(50, 83%, 63%)
CMYKcmyk(0%, 13.7%, 83.2%, 36.9%)
CIE-LABlab(58.15, -3.03, 57.16)
CIE-LCHlch(58.15, 57.24, 93.03°)
OKLaboklab(63.83% -0.0151 0.123)
OKLCHoklch(63.83% 0.124 97)
XYZxyz(24.1297, 26.1228, 4.8079)
Luminance0.2612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18B1B #1B31A1
analogous
#A1481B #A18B1B #74A11B
triadic
#A18B1B #1BA18B #8B1BA1
tetradic
#A18B1B #1BA148 #1B31A1 #A11B74
square
#A18B1B #1BA148 #1B31A1 #A11B74
split-complementary
#A18B1B #1B74A1 #481BA1
monochromatic
#383109 #6D5E12 #A18B1B #D5B824 #E2CB54

Accessibility & contrast

On white

3.37
#A18B1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#A18B1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18B1B
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18B1B#FFFFFF#000000##000000
##A18B1B1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#A08F24
Tritanopia (blue-blind)
#AE7F77
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a18b1b;
/* rgb */ color: rgb(161, 139, 27);
/* oklch */ color: oklch(63.8% 0.124 97.0);
Tailwind
colors: {
  custom: {
    50: '#c1ac63',
    500: '#a18b1b',
    950: '#000000',
  },
}
SCSS
$custom: #a18b1b;
$custom-light: #c1ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#a18b1b",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 50.149,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63827,
    "c": 0.12394,
    "h": 97
  },
  "luminance": 0.26121
}

Semantic roles & 50–950 ramp

primary
#A18B1B
secondary
#5265C5
accent
#57EE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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