#A18D1B#A18D1B

#A18D1B is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.3% C 0.125 H 98.4°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A18D1B
RGBrgb(161, 141, 27)
HSLhsl(51, 71%, 37%)
HSVhsv(51, 83%, 63%)
CMYKcmyk(0%, 12.4%, 83.2%, 36.9%)
CIE-LABlab(58.70, -4.12, 57.63)
CIE-LCHlch(58.70, 57.78, 94.09°)
OKLaboklab(64.26% -0.0182 0.124)
OKLCHoklch(64.26% 0.125 98.4)
XYZxyz(24.4220, 26.7072, 4.9053)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18D1B #1B2FA1
analogous
#A14A1B #A18D1B #72A11B
triadic
#A18D1B #1BA18D #8D1BA1
tetradic
#A18D1B #1BA14A #1B2FA1 #A11B72
square
#A18D1B #1BA14A #1B2FA1 #A11B72
split-complementary
#A18D1B #1B72A1 #4A1BA1
monochromatic
#383109 #6D5F12 #A18D1B #D5BB24 #E2CD54

Accessibility & contrast

On white

3.31
#A18D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#A18D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18D1B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18D1B#FFFFFF#000000##000000
##A18D1B1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#A19024
Tritanopia (blue-blind)
#AE8278
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a18d1b;
/* rgb */ color: rgb(161, 141, 27);
/* oklch */ color: oklch(64.3% 0.125 98.4);
Tailwind
colors: {
  custom: {
    50: '#c1ad63',
    500: '#a18d1b',
    950: '#000000',
  },
}
SCSS
$custom: #a18d1b;
$custom-light: #c1ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#a18d1b",
  "rgb": {
    "r": 161,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 51.045,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64261,
    "c": 0.12537,
    "h": 98.4
  },
  "luminance": 0.26706
}

Semantic roles & 50–950 ramp

primary
#A18D1B
secondary
#5264C5
accent
#55EE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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