#A18E1B#A18E1B

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

Color values

HEX#A18E1B
RGBrgb(161, 142, 27)
HSLhsl(51, 71%, 37%)
HSVhsv(51, 83%, 63%)
CMYKcmyk(0%, 11.8%, 83.2%, 36.9%)
CIE-LABlab(58.98, -4.67, 57.87)
CIE-LCHlch(58.98, 58.06, 94.61°)
OKLaboklab(64.48% -0.0197 0.1246)
OKLCHoklch(64.48% 0.126 99)
XYZxyz(24.5701, 27.0035, 4.9547)
Luminance0.2700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18E1B #1B2EA1
analogous
#A14B1B #A18E1B #71A11B
triadic
#A18E1B #1BA18E #8E1BA1
tetradic
#A18E1B #1BA14B #1B2EA1 #A11B71
square
#A18E1B #1BA14B #1B2EA1 #A11B71
split-complementary
#A18E1B #1B71A1 #4B1BA1
monochromatic
#383209 #6D6012 #A18E1B #D5BC24 #E2CE54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18E1B#FFFFFF#000000##000000
##A18E1B1.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)
#A29124
Tritanopia (blue-blind)
#AE8379
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a18e1b;
/* rgb */ color: rgb(161, 142, 27);
/* oklch */ color: oklch(64.5% 0.126 99.0);
Tailwind
colors: {
  custom: {
    50: '#c1ae64',
    500: '#a18e1b',
    950: '#000000',
  },
}
SCSS
$custom: #a18e1b;
$custom-light: #c1ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#a18e1b",
  "rgb": {
    "r": 161,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 51.493,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6448,
    "c": 0.1261,
    "h": 99
  },
  "luminance": 0.27002
}

Semantic roles & 50–950 ramp

primary
#A18E1B
secondary
#5263C5
accent
#53EE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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