#A08318#A08318

#A08318 is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 62.0% C 0.120 H 92.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A08318
RGBrgb(160, 131, 24)
HSLhsl(47, 74%, 36%)
HSVhsv(47, 85%, 63%)
CMYKcmyk(0%, 18.1%, 85%, 37.3%)
CIE-LABlab(55.86, 0.84, 56.04)
CIE-LCHlch(55.86, 56.04, 89.14°)
OKLaboklab(61.99% -0.0044 0.12)
OKLCHoklch(61.99% 0.12 92.1)
XYZxyz(22.7798, 23.7736, 4.2529)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A08318 #1835A0
analogous
#A03F18 #A08318 #79A018
triadic
#A08318 #18A083 #8318A0
tetradic
#A08318 #18A03F #1835A0 #A01879
square
#A08318 #18A03F #1835A0 #A01879
split-complementary
#A08318 #1879A0 #3F18A0
monochromatic
#362C08 #6B5710 #A08318 #D5AF20 #E4C44E

Accessibility & contrast

On white

3.65
#A08318 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#A08318 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A08318
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A08318#FFFFFF#000000##000000
##A083181.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#9A8920
Tritanopia (blue-blind)
#AE7770
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a08318;
/* rgb */ color: rgb(160, 131, 24);
/* oklch */ color: oklch(62.0% 0.120 92.1);
Tailwind
colors: {
  custom: {
    50: '#c1a661',
    500: '#a08318',
    950: '#000000',
  },
}
SCSS
$custom: #a08318;
$custom-light: #c1a661;
$custom-dark: #000000;
JSON
{
  "hex": "#a08318",
  "rgb": {
    "r": 160,
    "g": 131,
    "b": 24
  },
  "hsl": {
    "h": 47.206,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61986,
    "c": 0.12007,
    "h": 92.1
  },
  "luminance": 0.23772
}

Semantic roles & 50–950 ramp

primary
#A08318
secondary
#4D67C6
accent
#5FF137
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F05
muted
#827F7A

Preview Lab

Preview with #A08318

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

Preview Lab → · Contrast checker → · Palette generator →

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