#A18F18#A18F18

#A18F18 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.7% C 0.128 H 99.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A18F18
RGBrgb(161, 143, 24)
HSLhsl(52, 74%, 36%)
HSVhsv(52, 85%, 63%)
CMYKcmyk(0%, 11.2%, 85.1%, 36.9%)
CIE-LABlab(59.24, -5.30, 58.92)
CIE-LCHlch(59.24, 59.16, 95.14°)
OKLaboklab(64.69% -0.0218 0.1263)
OKLCHoklch(64.69% 0.128 99.8)
XYZxyz(24.6866, 27.2892, 4.8310)
Luminance0.2729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18F18 #182AA1
analogous
#A14B18 #A18F18 #6FA118
triadic
#A18F18 #18A18F #8F18A1
tetradic
#A18F18 #18A14B #182AA1 #A1186F
square
#A18F18 #18A14B #182AA1 #A1186F
split-complementary
#A18F18 #186FA1 #4B18A1
monochromatic
#363008 #6C6010 #A18F18 #D6BE20 #E5D14F

Accessibility & contrast

On white

3.25
#A18F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#A18F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18F18
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18F18#FFFFFF#000000##000000
##A18F181.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A39123
Tritanopia (blue-blind)
#AE847A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a18f18;
/* rgb */ color: rgb(161, 143, 24);
/* oklch */ color: oklch(64.7% 0.128 99.8);
Tailwind
colors: {
  custom: {
    50: '#c1af63',
    500: '#a18f18',
    950: '#000000',
  },
}
SCSS
$custom: #a18f18;
$custom-light: #c1af63;
$custom-dark: #000000;
JSON
{
  "hex": "#a18f18",
  "rgb": {
    "r": 161,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 52.117,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64685,
    "c": 0.12811,
    "h": 99.8
  },
  "luminance": 0.27288
}

Semantic roles & 50–950 ramp

primary
#A18F18
secondary
#4E5EC7
accent
#4FF137
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18F18

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

Preview Lab → · Contrast checker → · Palette generator →

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