#A18F27#A18F27

#A18F27 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.8% C 0.121 H 99.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A18F27
RGBrgb(161, 143, 39)
HSLhsl(51, 61%, 39%)
HSVhsv(51, 76%, 63%)
CMYKcmyk(0%, 11.2%, 75.8%, 36.9%)
CIE-LABlab(59.31, -4.75, 54.21)
CIE-LCHlch(59.31, 54.42, 95.01°)
OKLaboklab(64.77% -0.0189 0.1192)
OKLCHoklch(64.77% 0.121 99)
XYZxyz(24.8878, 27.3697, 5.8910)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18F27 #2739A1
analogous
#A15227 #A18F27 #76A127
triadic
#A18F27 #27A18F #8F27A1
tetradic
#A18F27 #27A152 #2739A1 #A12776
square
#A18F27 #27A152 #2739A1 #A12776
split-complementary
#A18F27 #2776A1 #5227A1
monochromatic
#3E370F #70631B #A18F27 #CEB837 #DACA68

Accessibility & contrast

On white

3.24
#A18F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#A18F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18F27
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18F27#FFFFFF#000000##000000
##A18F271.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B13
Deuteranopia (green-blind)
#A2922E
Tritanopia (blue-blind)
#AE847B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a18f27;
/* rgb */ color: rgb(161, 143, 39);
/* oklch */ color: oklch(64.8% 0.121 99.0);
Tailwind
colors: {
  custom: {
    50: '#c0af69',
    500: '#a18f27',
    950: '#000000',
  },
}
SCSS
$custom: #a18f27;
$custom-light: #c0af69;
$custom-dark: #000000;
JSON
{
  "hex": "#a18f27",
  "rgb": {
    "r": 161,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 51.148,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64767,
    "c": 0.12063,
    "h": 99
  },
  "luminance": 0.27368
}

Semantic roles & 50–950 ramp

primary
#A18F27
secondary
#6371C0
accent
#5BE444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18F27

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

Preview Lab → · Contrast checker → · Palette generator →

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