#A18E1C#A18E1C

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

Color values

HEX#A18E1C
RGBrgb(161, 142, 28)
HSLhsl(51, 70%, 37%)
HSVhsv(51, 83%, 63%)
CMYKcmyk(0%, 11.8%, 82.6%, 36.9%)
CIE-LABlab(58.98, -4.64, 57.58)
CIE-LCHlch(58.98, 57.77, 94.60°)
OKLaboklab(64.48% -0.0196 0.1241)
OKLCHoklch(64.48% 0.126 99)
XYZxyz(24.5818, 27.0082, 5.0167)
Luminance0.2701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18E1C #1C2FA1
analogous
#A14C1C #A18E1C #71A11C
triadic
#A18E1C #1CA18E #8E1CA1
tetradic
#A18E1C #1CA14C #1C2FA1 #A11C71
square
#A18E1C #1CA14C #1C2FA1 #A11C71
split-complementary
#A18E1C #1C71A1 #4C1CA1
monochromatic
#39320A #6D6013 #A18E1C #D5BC25 #E2CE56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18E1C#FFFFFF#000000##000000
##A18E1C1.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)
#A29125
Tritanopia (blue-blind)
#AE8379
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a18e1c;
/* rgb */ color: rgb(161, 142, 28);
/* oklch */ color: oklch(64.5% 0.126 99.0);
Tailwind
colors: {
  custom: {
    50: '#c1ae64',
    500: '#a18e1c',
    950: '#000000',
  },
}
SCSS
$custom: #a18e1c;
$custom-light: #c1ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#a18e1c",
  "rgb": {
    "r": 161,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 51.429,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64484,
    "c": 0.12566,
    "h": 99
  },
  "luminance": 0.27007
}

Semantic roles & 50–950 ramp

primary
#A18E1C
secondary
#5464C5
accent
#54ED3B
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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