#A18F2B#A18F2B

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

Color values

HEX#A18F2B
RGBrgb(161, 143, 43)
HSLhsl(51, 58%, 40%)
HSVhsv(51, 73%, 63%)
CMYKcmyk(0%, 11.2%, 73.3%, 36.9%)
CIE-LABlab(59.34, -4.57, 52.71)
CIE-LCHlch(59.34, 52.91, 94.95°)
OKLaboklab(64.8% -0.0179 0.1168)
OKLCHoklch(64.8% 0.118 98.7)
XYZxyz(24.9577, 27.3976, 6.2587)
Luminance0.2740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18F2B #2B3DA1
analogous
#A1542B #A18F2B #78A12B
triadic
#A18F2B #2BA18F #8F2BA1
tetradic
#A18F2B #2BA154 #2B3DA1 #A12B78
square
#A18F2B #2BA154 #2B3DA1 #A12B78
split-complementary
#A18F2B #2B78A1 #542BA1
monochromatic
#403911 #71641E #A18F2B #CBB63E #D8C86E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18F2B#FFFFFF#000000##000000
##A18F2B1.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)
#9D8B1B
Deuteranopia (green-blind)
#A29231
Tritanopia (blue-blind)
#AE847B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a18f2b;
/* rgb */ color: rgb(161, 143, 43);
/* oklch */ color: oklch(64.8% 0.118 98.7);
Tailwind
colors: {
  custom: {
    50: '#c0af6b',
    500: '#a18f2b',
    950: '#000000',
  },
}
SCSS
$custom: #a18f2b;
$custom-light: #c0af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a18f2b",
  "rgb": {
    "r": 161,
    "g": 143,
    "b": 43
  },
  "hsl": {
    "h": 50.847,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.64795,
    "c": 0.11813,
    "h": 98.7
  },
  "luminance": 0.27396
}

Semantic roles & 50–950 ramp

primary
#A18F2B
secondary
#6976BF
accent
#5EE147
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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