#A18D1F#A18D1F

#A18D1F is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.3% C 0.123 H 98.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A18D1F
RGBrgb(161, 141, 31)
HSLhsl(51, 68%, 38%)
HSVhsv(51, 81%, 63%)
CMYKcmyk(0%, 12.4%, 80.7%, 36.9%)
CIE-LABlab(58.72, -3.99, 56.43)
CIE-LCHlch(58.72, 56.57, 94.04°)
OKLaboklab(64.28% -0.0175 0.1223)
OKLCHoklch(64.28% 0.124 98.1)
XYZxyz(24.4714, 26.7270, 5.1659)
Luminance0.2673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18D1F #1F33A1
analogous
#A14C1F #A18D1F #74A11F
triadic
#A18D1F #1FA18D #8D1FA1
tetradic
#A18D1F #1FA14C #1F33A1 #A11F74
square
#A18D1F #1FA14C #1F33A1 #A11F74
split-complementary
#A18D1F #1F74A1 #4C1FA1
monochromatic
#3A330B #6E6015 #A18D1F #D4BA29 #DFCB5B

Accessibility & contrast

On white

3.31
#A18D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#A18D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18D1F
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18D1F#FFFFFF#000000##000000
##A18D1F1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8901
Deuteranopia (green-blind)
#A19027
Tritanopia (blue-blind)
#AE8279
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a18d1f;
/* rgb */ color: rgb(161, 141, 31);
/* oklch */ color: oklch(64.3% 0.123 98.1);
Tailwind
colors: {
  custom: {
    50: '#c1ad65',
    500: '#a18d1f',
    950: '#000000',
  },
}
SCSS
$custom: #a18d1f;
$custom-light: #c1ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#a18d1f",
  "rgb": {
    "r": 161,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 50.769,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64282,
    "c": 0.1235,
    "h": 98.1
  },
  "luminance": 0.26726
}

Semantic roles & 50–950 ramp

primary
#A18D1F
secondary
#5869C4
accent
#58EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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