#A18E18#A18E18

#A18E18 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.5% C 0.127 H 99.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A18E18
RGBrgb(161, 142, 24)
HSLhsl(52, 74%, 36%)
HSVhsv(52, 85%, 63%)
CMYKcmyk(0%, 11.8%, 85.1%, 36.9%)
CIE-LABlab(58.97, -4.76, 58.69)
CIE-LCHlch(58.97, 58.88, 94.63°)
OKLaboklab(64.47% -0.0202 0.1258)
OKLCHoklch(64.47% 0.127 99.1)
XYZxyz(24.5371, 26.9903, 4.7812)
Luminance0.2699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18E18 #182BA1
analogous
#A14A18 #A18E18 #70A118
triadic
#A18E18 #18A18E #8E18A1
tetradic
#A18E18 #18A14A #182BA1 #A11870
square
#A18E18 #18A14A #182BA1 #A11870
split-complementary
#A18E18 #1870A1 #4A18A1
monochromatic
#363008 #6C5F10 #A18E18 #D6BD20 #E5D04F

Accessibility & contrast

On white

3.28
#A18E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#A18E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18E18
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18E18#FFFFFF#000000##000000
##A18E181.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#A29122
Tritanopia (blue-blind)
#AE8379
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a18e18;
/* rgb */ color: rgb(161, 142, 24);
/* oklch */ color: oklch(64.5% 0.127 99.1);
Tailwind
colors: {
  custom: {
    50: '#c1ae62',
    500: '#a18e18',
    950: '#000000',
  },
}
SCSS
$custom: #a18e18;
$custom-light: #c1ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#a18e18",
  "rgb": {
    "r": 161,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 51.679,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64466,
    "c": 0.12737,
    "h": 99.1
  },
  "luminance": 0.26989
}

Semantic roles & 50–950 ramp

primary
#A18E18
secondary
#4E5FC7
accent
#51F137
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18E18

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

Preview Lab → · Contrast checker → · Palette generator →

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