#A18117#A18117

#A18117 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.7% C 0.120 H 90.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A18117
RGBrgb(161, 129, 23)
HSLhsl(46, 75%, 36%)
HSVhsv(46, 86%, 63%)
CMYKcmyk(0%, 19.9%, 85.7%, 36.9%)
CIE-LABlab(55.42, 2.38, 56.00)
CIE-LCHlch(55.42, 56.05, 87.56°)
OKLaboklab(61.66% -0.0001 0.1196)
OKLCHoklch(61.66% 0.12 90.1)
XYZxyz(22.7043, 23.3410, 4.1199)
Luminance0.2334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18117 #1737A1
analogous
#A13C17 #A18117 #7CA117
triadic
#A18117 #17A181 #8117A1
tetradic
#A18117 #17A13C #1737A1 #A1177C
square
#A18117 #17A13C #1737A1 #A1177C
split-complementary
#A18117 #177CA1 #3C17A1
monochromatic
#362B08 #6B560F #A18117 #D7AC1F #E6C24D

Accessibility & contrast

On white

3.71
#A18117 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#A18117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18117
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18117#FFFFFF#000000##000000
##A181171.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918000
Deuteranopia (green-blind)
#99881F
Tritanopia (blue-blind)
#AF756E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a18117;
/* rgb */ color: rgb(161, 129, 23);
/* oklch */ color: oklch(61.7% 0.120 90.1);
Tailwind
colors: {
  custom: {
    50: '#c1a560',
    500: '#a18117',
    950: '#000000',
  },
}
SCSS
$custom: #a18117;
$custom-light: #c1a560;
$custom-dark: #000000;
JSON
{
  "hex": "#a18117",
  "rgb": {
    "r": 161,
    "g": 129,
    "b": 23
  },
  "hsl": {
    "h": 46.087,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61663,
    "c": 0.11962,
    "h": 90.1
  },
  "luminance": 0.23339
}

Semantic roles & 50–950 ramp

primary
#A18117
secondary
#4C69C7
accent
#62F236
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A18117

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

Preview Lab → · Contrast checker → · Palette generator →

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