#A18F2F#A18F2F

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

Color values

HEX#A18F2F
RGBrgb(161, 143, 47)
HSLhsl(51, 55%, 41%)
HSVhsv(51, 71%, 63%)
CMYKcmyk(0%, 11.2%, 70.8%, 36.9%)
CIE-LABlab(59.37, -4.36, 51.13)
CIE-LCHlch(59.37, 51.31, 94.87°)
OKLaboklab(64.83% -0.0169 0.1142)
OKLCHoklch(64.83% 0.115 98.4)
XYZxyz(25.0347, 27.4284, 6.6643)
Luminance0.2743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18F2F #2F41A1
analogous
#A1562F #A18F2F #7AA12F
triadic
#A18F2F #2FA18F #8F2FA1
tetradic
#A18F2F #2FA156 #2F41A1 #A12F7A
square
#A18F2F #2FA156 #2F41A1 #A12F7A
split-complementary
#A18F2F #2F7AA1 #562FA1
monochromatic
#423B13 #726521 #A18F2F #C9B445 #D6C774

Accessibility & contrast

On white

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

On black

6.49
#A18F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18F2F
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18F2F#FFFFFF#000000##000000
##A18F2F1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B21
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#AE847C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a18f2f;
/* rgb */ color: rgb(161, 143, 47);
/* oklch */ color: oklch(64.8% 0.115 98.4);
Tailwind
colors: {
  custom: {
    50: '#c0af6d',
    500: '#a18f2f',
    950: '#000000',
  },
}
SCSS
$custom: #a18f2f;
$custom-light: #c0af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a18f2f",
  "rgb": {
    "r": 161,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 50.526,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64827,
    "c": 0.1154,
    "h": 98.4
  },
  "luminance": 0.27427
}

Semantic roles & 50–950 ramp

primary
#A18F2F
secondary
#6E7ABE
accent
#61DE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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