#A18B1F#A18B1F

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

Color values

HEX#A18B1F
RGBrgb(161, 139, 31)
HSLhsl(50, 68%, 38%)
HSVhsv(50, 81%, 63%)
CMYKcmyk(0%, 13.7%, 80.7%, 36.9%)
CIE-LABlab(58.17, -2.89, 55.94)
CIE-LCHlch(58.17, 56.01, 92.96°)
OKLaboklab(63.85% -0.0144 0.1212)
OKLCHoklch(63.85% 0.122 96.8)
XYZxyz(24.1792, 26.1426, 5.0685)
Luminance0.2614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18B1F #1F35A1
analogous
#A14A1F #A18B1F #76A11F
triadic
#A18B1F #1FA18B #8B1FA1
tetradic
#A18B1F #1FA14A #1F35A1 #A11F76
square
#A18B1F #1FA14A #1F35A1 #A11F76
split-complementary
#A18B1F #1F76A1 #4A1FA1
monochromatic
#3A320B #6E5F15 #A18B1F #D4B729 #DFC95B

Accessibility & contrast

On white

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

On black

6.23
#A18B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18B1F
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18B1F#FFFFFF#000000##000000
##A18B1F1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8802
Deuteranopia (green-blind)
#A08F27
Tritanopia (blue-blind)
#AE8077
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a18b1f;
/* rgb */ color: rgb(161, 139, 31);
/* oklch */ color: oklch(63.8% 0.122 96.8);
Tailwind
colors: {
  custom: {
    50: '#c1ac65',
    500: '#a18b1f',
    950: '#000000',
  },
}
SCSS
$custom: #a18b1f;
$custom-light: #c1ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#a18b1f",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 49.846,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63847,
    "c": 0.12205,
    "h": 96.8
  },
  "luminance": 0.26141
}

Semantic roles & 50–950 ramp

primary
#A18B1F
secondary
#586AC4
accent
#5BEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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