#A18A1F#A18A1F

#A18A1F is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.6% C 0.121 H 96.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A18A1F
RGBrgb(161, 138, 31)
HSLhsl(49, 68%, 38%)
HSVhsv(49, 81%, 63%)
CMYKcmyk(0%, 14.3%, 80.7%, 36.9%)
CIE-LABlab(57.90, -2.34, 55.69)
CIE-LCHlch(57.90, 55.74, 92.41°)
OKLaboklab(63.63% -0.0128 0.1207)
OKLCHoklch(63.63% 0.121 96.1)
XYZxyz(24.0351, 25.8543, 5.0205)
Luminance0.2585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18A1F #1F36A1
analogous
#A1491F #A18A1F #77A11F
triadic
#A18A1F #1FA18A #8A1FA1
tetradic
#A18A1F #1FA149 #1F36A1 #A11F77
square
#A18A1F #1FA149 #1F36A1 #A11F77
split-complementary
#A18A1F #1F77A1 #491FA1
monochromatic
#3A320B #6E5E15 #A18A1F #D4B629 #DFC85B

Accessibility & contrast

On white

3.40
#A18A1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#A18A1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18A1F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18A1F#FFFFFF#000000##000000
##A18A1F1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998703
Deuteranopia (green-blind)
#9F8E27
Tritanopia (blue-blind)
#AE7F76
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a18a1f;
/* rgb */ color: rgb(161, 138, 31);
/* oklch */ color: oklch(63.6% 0.121 96.1);
Tailwind
colors: {
  custom: {
    50: '#c1ab65',
    500: '#a18a1f',
    950: '#000000',
  },
}
SCSS
$custom: #a18a1f;
$custom-light: #c1ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#a18a1f",
  "rgb": {
    "r": 161,
    "g": 138,
    "b": 31
  },
  "hsl": {
    "h": 49.385,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63631,
    "c": 0.12136,
    "h": 96.1
  },
  "luminance": 0.25853
}

Semantic roles & 50–950 ramp

primary
#A18A1F
secondary
#586BC4
accent
#5CEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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