#A17F18#A17F18

#A17F18 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.2% C 0.118 H 88.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#A17F18
RGBrgb(161, 127, 24)
HSLhsl(45, 74%, 36%)
HSVhsv(45, 85%, 63%)
CMYKcmyk(0%, 21.1%, 85.1%, 36.9%)
CIE-LABlab(54.89, 3.53, 55.26)
CIE-LCHlch(54.89, 55.37, 86.34°)
OKLaboklab(61.25% 0.0032 0.1182)
OKLCHoklch(61.25% 0.118 88.4)
XYZxyz(22.4536, 22.8233, 4.0867)
Luminance0.2282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A17F18 #183AA1
analogous
#A13A18 #A17F18 #7FA118
triadic
#A17F18 #18A17F #7F18A1
tetradic
#A17F18 #18A13A #183AA1 #A1187F
square
#A17F18 #18A13A #183AA1 #A1187F
split-complementary
#A17F18 #187FA1 #3A18A1
monochromatic
#362B08 #6C5510 #A17F18 #D6A920 #E5BF4F

Accessibility & contrast

On white

3.77
#A17F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#A17F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A17F18
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A17F18#FFFFFF#000000##000000
##A17F181.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#97871F
Tritanopia (blue-blind)
#AF736C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a17f18;
/* rgb */ color: rgb(161, 127, 24);
/* oklch */ color: oklch(61.2% 0.118 88.4);
Tailwind
colors: {
  custom: {
    50: '#c1a360',
    500: '#a17f18',
    950: '#000000',
  },
}
SCSS
$custom: #a17f18;
$custom-light: #c1a360;
$custom-dark: #000000;
JSON
{
  "hex": "#a17f18",
  "rgb": {
    "r": 161,
    "g": 127,
    "b": 24
  },
  "hsl": {
    "h": 45.109,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61245,
    "c": 0.11825,
    "h": 88.4
  },
  "luminance": 0.22822
}

Semantic roles & 50–950 ramp

primary
#A17F18
secondary
#4E6CC7
accent
#65F137
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A17F18

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

Preview Lab → · Contrast checker → · Palette generator →

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