#A18F1B#A18F1B

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

Color values

HEX#A18F1B
RGBrgb(161, 143, 27)
HSLhsl(52, 71%, 37%)
HSVhsv(52, 83%, 63%)
CMYKcmyk(0%, 11.2%, 83.2%, 36.9%)
CIE-LABlab(59.25, -5.21, 58.11)
CIE-LCHlch(59.25, 58.34, 95.12°)
OKLaboklab(64.7% -0.0213 0.1251)
OKLCHoklch(64.7% 0.127 99.7)
XYZxyz(24.7195, 27.3024, 5.0045)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18F1B #1B2DA1
analogous
#A14C1B #A18F1B #70A11B
triadic
#A18F1B #1BA18F #8F1BA1
tetradic
#A18F1B #1BA14C #1B2DA1 #A11B70
square
#A18F1B #1BA14C #1B2DA1 #A11B70
split-complementary
#A18F1B #1B70A1 #4C1BA1
monochromatic
#383209 #6D6012 #A18F1B #D5BE24 #E2CF54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A18F1B#FFFFFF#000000##000000
##A18F1B1.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)
#A39125
Tritanopia (blue-blind)
#AE847A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a18f1b;
/* rgb */ color: rgb(161, 143, 27);
/* oklch */ color: oklch(64.7% 0.127 99.7);
Tailwind
colors: {
  custom: {
    50: '#c1af64',
    500: '#a18f1b',
    950: '#000000',
  },
}
SCSS
$custom: #a18f1b;
$custom-light: #c1af64;
$custom-dark: #000000;
JSON
{
  "hex": "#a18f1b",
  "rgb": {
    "r": 161,
    "g": 143,
    "b": 27
  },
  "hsl": {
    "h": 51.94,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64698,
    "c": 0.12687,
    "h": 99.7
  },
  "luminance": 0.27301
}

Semantic roles & 50–950 ramp

primary
#A18F1B
secondary
#5262C5
accent
#52EE3A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A18F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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