#A18E1F#A18E1F

#A18E1F is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.5% C 0.124 H 98.8°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A18E1F
RGBrgb(161, 142, 31)
HSLhsl(51, 68%, 38%)
HSVhsv(51, 81%, 63%)
CMYKcmyk(0%, 11.8%, 80.7%, 36.9%)
CIE-LABlab(59.00, -4.53, 56.67)
CIE-LCHlch(59.00, 56.85, 94.57°)
OKLaboklab(64.5% -0.019 0.1228)
OKLCHoklch(64.5% 0.124 98.8)
XYZxyz(24.6195, 27.0233, 5.2153)
Luminance0.2702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18E1F #1F32A1
analogous
#A14D1F #A18E1F #73A11F
triadic
#A18E1F #1FA18E #8E1FA1
tetradic
#A18E1F #1FA14D #1F32A1 #A11F73
square
#A18E1F #1FA14D #1F32A1 #A11F73
split-complementary
#A18E1F #1F73A1 #4D1FA1
monochromatic
#3A330B #6E6115 #A18E1F #D4BB29 #DFCC5B

Accessibility & contrast

On white

3.28
#A18E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#A18E1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18E1F
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18E1F#FFFFFF#000000##000000
##A18E1F1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#A29127
Tritanopia (blue-blind)
#AE8379
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a18e1f;
/* rgb */ color: rgb(161, 142, 31);
/* oklch */ color: oklch(64.5% 0.124 98.8);
Tailwind
colors: {
  custom: {
    50: '#c1ae65',
    500: '#a18e1f',
    950: '#000000',
  },
}
SCSS
$custom: #a18e1f;
$custom-light: #c1ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#a18e1f",
  "rgb": {
    "r": 161,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 51.231,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.645,
    "c": 0.12424,
    "h": 98.8
  },
  "luminance": 0.27022
}

Semantic roles & 50–950 ramp

primary
#A18E1F
secondary
#5868C4
accent
#57EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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