#A18F2A#A18F2A

#A18F2A is a light, moderate yellow. Relative luminance 0.274; OKLCH L 64.8% C 0.119 H 98.8°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A18F2A
RGBrgb(161, 143, 42)
HSLhsl(51, 59%, 40%)
HSVhsv(51, 74%, 63%)
CMYKcmyk(0%, 11.2%, 73.9%, 36.9%)
CIE-LABlab(59.33, -4.61, 53.09)
CIE-LCHlch(59.33, 53.29, 94.97°)
OKLaboklab(64.79% -0.0182 0.1174)
OKLCHoklch(64.79% 0.119 98.8)
XYZxyz(24.9395, 27.3904, 6.1633)
Luminance0.2739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18F2A #2A3CA1
analogous
#A1532A #A18F2A #78A12A
triadic
#A18F2A #2AA18F #8F2AA1
tetradic
#A18F2A #2AA153 #2A3CA1 #A12A78
square
#A18F2A #2AA153 #2A3CA1 #A12A78
split-complementary
#A18F2A #2A78A1 #532AA1
monochromatic
#403911 #70641D #A18F2A #CCB63C #D9C86D

Accessibility & contrast

On white

3.24
#A18F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#A18F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18F2A
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18F2A#FFFFFF#000000##000000
##A18F2A1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B19
Deuteranopia (green-blind)
#A29230
Tritanopia (blue-blind)
#AE847B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a18f2a;
/* rgb */ color: rgb(161, 143, 42);
/* oklch */ color: oklch(64.8% 0.119 98.8);
Tailwind
colors: {
  custom: {
    50: '#c0af6b',
    500: '#a18f2a',
    950: '#000000',
  },
}
SCSS
$custom: #a18f2a;
$custom-light: #c0af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a18f2a",
  "rgb": {
    "r": 161,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 50.924,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64788,
    "c": 0.11878,
    "h": 98.8
  },
  "luminance": 0.27389
}

Semantic roles & 50–950 ramp

primary
#A18F2A
secondary
#6775C0
accent
#5EE246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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