#A18F2D#A18F2D

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

Color values

HEX#A18F2D
RGBrgb(161, 143, 45)
HSLhsl(51, 56%, 40%)
HSVhsv(51, 72%, 63%)
CMYKcmyk(0%, 11.2%, 72%, 36.9%)
CIE-LABlab(59.35, -4.46, 51.93)
CIE-LCHlch(59.35, 52.12, 94.91°)
OKLaboklab(64.81% -0.0174 0.1155)
OKLCHoklch(64.81% 0.117 98.6)
XYZxyz(24.9952, 27.4127, 6.4567)
Luminance0.2741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18F2D #2D3FA1
analogous
#A1552D #A18F2D #79A12D
triadic
#A18F2D #2DA18F #8F2DA1
tetradic
#A18F2D #2DA155 #2D3FA1 #A12D79
square
#A18F2D #2DA155 #2D3FA1 #A12D79
split-complementary
#A18F2D #2D79A1 #552DA1
monochromatic
#413A12 #716520 #A18F2D #CAB541 #D7C771

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18F2D#FFFFFF#000000##000000
##A18F2D1.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)
#9D8B1E
Deuteranopia (green-blind)
#A29233
Tritanopia (blue-blind)
#AE847B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a18f2d;
/* rgb */ color: rgb(161, 143, 45);
/* oklch */ color: oklch(64.8% 0.117 98.6);
Tailwind
colors: {
  custom: {
    50: '#c0af6c',
    500: '#a18f2d',
    950: '#000000',
  },
}
SCSS
$custom: #a18f2d;
$custom-light: #c0af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a18f2d",
  "rgb": {
    "r": 161,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 50.69,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64811,
    "c": 0.11679,
    "h": 98.6
  },
  "luminance": 0.27411
}

Semantic roles & 50–950 ramp

primary
#A18F2D
secondary
#6B78BF
accent
#60E048
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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