#A18D27#A18D27

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

Color values

HEX#A18D27
RGBrgb(161, 141, 39)
HSLhsl(50, 61%, 39%)
HSVhsv(50, 76%, 63%)
CMYKcmyk(0%, 12.4%, 75.8%, 36.9%)
CIE-LABlab(58.77, -3.66, 53.69)
CIE-LCHlch(58.77, 53.81, 93.90°)
OKLaboklab(64.33% -0.0158 0.1181)
OKLCHoklch(64.33% 0.119 97.6)
XYZxyz(24.5903, 26.7746, 5.7918)
Luminance0.2677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18D27 #273BA1
analogous
#A15027 #A18D27 #78A127
triadic
#A18D27 #27A18D #8D27A1
tetradic
#A18D27 #27A150 #273BA1 #A12778
square
#A18D27 #27A150 #273BA1 #A12778
split-complementary
#A18D27 #2778A1 #5027A1
monochromatic
#3E370F #70621B #A18D27 #CEB637 #DAC868

Accessibility & contrast

On white

3.30
#A18D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18D27#FFFFFF#000000##000000
##A18D271.003.306.356.35
#FFFFFF3.301.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a18d27;
/* rgb */ color: rgb(161, 141, 39);
/* oklch */ color: oklch(64.3% 0.119 97.6);
Tailwind
colors: {
  custom: {
    50: '#c1ae69',
    500: '#a18d27',
    950: '#000000',
  },
}
SCSS
$custom: #a18d27;
$custom-light: #c1ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#a18d27",
  "rgb": {
    "r": 161,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 50.164,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64331,
    "c": 0.1191,
    "h": 97.6
  },
  "luminance": 0.26773
}

Semantic roles & 50–950 ramp

primary
#A18D27
secondary
#6373C0
accent
#5EE444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18D27

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

Preview Lab → · Contrast checker → · Palette generator →

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