#A18F1F#A18F1F

#A18F1F is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.7% C 0.125 H 99.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A18F1F
RGBrgb(161, 143, 31)
HSLhsl(52, 68%, 38%)
HSVhsv(52, 81%, 63%)
CMYKcmyk(0%, 11.2%, 80.7%, 36.9%)
CIE-LABlab(59.27, -5.08, 56.91)
CIE-LCHlch(59.27, 57.14, 95.10°)
OKLaboklab(64.72% -0.0206 0.1233)
OKLCHoklch(64.72% 0.125 99.5)
XYZxyz(24.7690, 27.3222, 5.2651)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18F1F #1F31A1
analogous
#A14E1F #A18F1F #72A11F
triadic
#A18F1F #1FA18F #8F1FA1
tetradic
#A18F1F #1FA14E #1F31A1 #A11F72
square
#A18F1F #1FA14E #1F31A1 #A11F72
split-complementary
#A18F1F #1F72A1 #4E1FA1
monochromatic
#3A340B #6E6115 #A18F1F #D4BD29 #DFCD5B

Accessibility & contrast

On white

3.25
#A18F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#A18F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18F1F
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18F1F#FFFFFF#000000##000000
##A18F1F1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A39128
Tritanopia (blue-blind)
#AE847A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a18f1f;
/* rgb */ color: rgb(161, 143, 31);
/* oklch */ color: oklch(64.7% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#c1af65',
    500: '#a18f1f',
    950: '#000000',
  },
}
SCSS
$custom: #a18f1f;
$custom-light: #c1af65;
$custom-dark: #000000;
JSON
{
  "hex": "#a18f1f",
  "rgb": {
    "r": 161,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 51.692,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.64718,
    "c": 0.12501,
    "h": 99.5
  },
  "luminance": 0.27321
}

Semantic roles & 50–950 ramp

primary
#A18F1F
secondary
#5867C4
accent
#55EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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