#A18F31#A18F31

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

Color values

HEX#A18F31
RGBrgb(161, 143, 49)
HSLhsl(50, 53%, 41%)
HSVhsv(50, 70%, 63%)
CMYKcmyk(0%, 11.2%, 69.6%, 36.9%)
CIE-LABlab(59.38, -4.25, 50.31)
CIE-LCHlch(59.38, 50.48, 94.83°)
OKLaboklab(64.84% -0.0163 0.1128)
OKLCHoklch(64.84% 0.114 98.2)
XYZxyz(25.0759, 27.4449, 6.8817)
Luminance0.2744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18F31 #3143A1
analogous
#A15731 #A18F31 #7BA131
triadic
#A18F31 #31A18F #8F31A1
tetradic
#A18F31 #31A157 #3143A1 #A1317B
square
#A18F31 #31A157 #3143A1 #A1317B
split-complementary
#A18F31 #317BA1 #5731A1
monochromatic
#433C14 #726523 #A18F31 #C7B348 #D6C677

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18F31#FFFFFF#000000##000000
##A18F311.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)
#9D8B24
Deuteranopia (green-blind)
#A29236
Tritanopia (blue-blind)
#AE847C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a18f31;
/* rgb */ color: rgb(161, 143, 49);
/* oklch */ color: oklch(64.8% 0.114 98.2);
Tailwind
colors: {
  custom: {
    50: '#c0af6f',
    500: '#a18f31',
    950: '#000000',
  },
}
SCSS
$custom: #a18f31;
$custom-light: #c0af6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a18f31",
  "rgb": {
    "r": 161,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 50.357,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64844,
    "c": 0.11396,
    "h": 98.2
  },
  "luminance": 0.27444
}

Semantic roles & 50–950 ramp

primary
#A18F31
secondary
#707DBE
accent
#62DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131008
muted
#827F7B

Preview Lab

Preview with #A18F31

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

Preview Lab → · Contrast checker → · Palette generator →

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