#A18D26#A18D26

#A18D26 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.3% C 0.120 H 97.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A18D26
RGBrgb(161, 141, 38)
HSLhsl(50, 62%, 39%)
HSVhsv(50, 76%, 63%)
CMYKcmyk(0%, 12.4%, 76.4%, 36.9%)
CIE-LABlab(58.76, -3.71, 54.05)
CIE-LCHlch(58.76, 54.18, 93.92°)
OKLaboklab(64.32% -0.016 0.1186)
OKLCHoklch(64.32% 0.12 97.7)
XYZxyz(24.5739, 26.7680, 5.7057)
Luminance0.2677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18D26 #263AA1
analogous
#A15026 #A18D26 #78A126
triadic
#A18D26 #26A18D #8D26A1
tetradic
#A18D26 #26A150 #263AA1 #A12678
square
#A18D26 #26A150 #263AA1 #A12678
split-complementary
#A18D26 #2678A1 #5026A1
monochromatic
#3E360F #6F621A #A18D26 #CFB635 #DBC866

Accessibility & contrast

On white

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

On black

6.35
#A18D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18D26
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18D26#FFFFFF#000000##000000
##A18D261.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A12
Deuteranopia (green-blind)
#A1902D
Tritanopia (blue-blind)
#AE8279
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a18d26;
/* rgb */ color: rgb(161, 141, 38);
/* oklch */ color: oklch(64.3% 0.120 97.7);
Tailwind
colors: {
  custom: {
    50: '#c1ae68',
    500: '#a18d26',
    950: '#000000',
  },
}
SCSS
$custom: #a18d26;
$custom-light: #c1ae68;
$custom-dark: #000000;
JSON
{
  "hex": "#a18d26",
  "rgb": {
    "r": 161,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 50.244,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64324,
    "c": 0.1197,
    "h": 97.7
  },
  "luminance": 0.26767
}

Semantic roles & 50–950 ramp

primary
#A18D26
secondary
#6271C1
accent
#5DE543
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18D26

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

Preview Lab → · Contrast checker → · Palette generator →

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