#A18B17#A18B17

#A18B17 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.8% C 0.126 H 97.2°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A18B17
RGBrgb(161, 139, 23)
HSLhsl(50, 75%, 36%)
HSVhsv(50, 86%, 63%)
CMYKcmyk(0%, 13.7%, 85.7%, 36.9%)
CIE-LABlab(58.14, -3.15, 58.26)
CIE-LCHlch(58.14, 58.35, 93.09°)
OKLaboklab(63.81% -0.0158 0.1246)
OKLCHoklch(63.81% 0.126 97.2)
XYZxyz(24.0866, 26.1055, 4.5806)
Luminance0.2610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18B17 #172DA1
analogous
#A14617 #A18B17 #72A117
triadic
#A18B17 #17A18B #8B17A1
tetradic
#A18B17 #17A146 #172DA1 #A11772
square
#A18B17 #17A146 #172DA1 #A11772
split-complementary
#A18B17 #1772A1 #4617A1
monochromatic
#362F08 #6B5D0F #A18B17 #D7B91F #E6CD4D

Accessibility & contrast

On white

3.38
#A18B17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#A18B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18B17
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18B17#FFFFFF#000000##000000
##A18B171.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#A08F21
Tritanopia (blue-blind)
#AF7F76
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a18b17;
/* rgb */ color: rgb(161, 139, 23);
/* oklch */ color: oklch(63.8% 0.126 97.2);
Tailwind
colors: {
  custom: {
    50: '#c1ac62',
    500: '#a18b17',
    950: '#000000',
  },
}
SCSS
$custom: #a18b17;
$custom-light: #c1ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#a18b17",
  "rgb": {
    "r": 161,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 50.435,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63808,
    "c": 0.12561,
    "h": 97.2
  },
  "luminance": 0.26104
}

Semantic roles & 50–950 ramp

primary
#A18B17
secondary
#4C60C7
accent
#54F236
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18B17

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

Preview Lab → · Contrast checker → · Palette generator →

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