#A08018#A08018

#A08018 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.3% C 0.118 H 89.8°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#A08018
RGBrgb(160, 128, 24)
HSLhsl(46, 74%, 36%)
HSVhsv(46, 85%, 63%)
CMYKcmyk(0%, 20%, 85%, 37.3%)
CIE-LABlab(55.05, 2.51, 55.35)
CIE-LCHlch(55.05, 55.41, 87.40°)
OKLaboklab(61.35% 0.0004 0.1185)
OKLCHoklch(61.35% 0.118 89.8)
XYZxyz(22.3827, 22.9794, 4.1205)
Luminance0.2298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A08018 #1838A0
analogous
#A03C18 #A08018 #7CA018
triadic
#A08018 #18A080 #8018A0
tetradic
#A08018 #18A03C #1838A0 #A0187C
square
#A08018 #18A03C #1838A0 #A0187C
split-complementary
#A08018 #187CA0 #3C18A0
monochromatic
#362B08 #6B5510 #A08018 #D5AB20 #E4C14E

Accessibility & contrast

On white

3.75
#A08018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#A08018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A08018
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A08018#FFFFFF#000000##000000
##A080181.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#98871F
Tritanopia (blue-blind)
#AE746D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a08018;
/* rgb */ color: rgb(160, 128, 24);
/* oklch */ color: oklch(61.3% 0.118 89.8);
Tailwind
colors: {
  custom: {
    50: '#c1a460',
    500: '#a08018',
    950: '#000000',
  },
}
SCSS
$custom: #a08018;
$custom-light: #c1a460;
$custom-dark: #000000;
JSON
{
  "hex": "#a08018",
  "rgb": {
    "r": 160,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 45.882,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61348,
    "c": 0.11848,
    "h": 89.8
  },
  "luminance": 0.22978
}

Semantic roles & 50–950 ramp

primary
#A08018
secondary
#4D6AC6
accent
#63F137
background
#FCFAF6
surface
#F8F3EB
border
#D1CDC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A08018

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

Preview Lab → · Contrast checker → · Palette generator →

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