#A18E31#A18E31

#A18E31 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.6% C 0.113 H 97.5°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A18E31
RGBrgb(161, 142, 49)
HSLhsl(50, 53%, 41%)
HSVhsv(50, 70%, 63%)
CMYKcmyk(0%, 11.8%, 69.6%, 36.9%)
CIE-LABlab(59.11, -3.70, 50.02)
CIE-LCHlch(59.11, 50.16, 94.23°)
OKLaboklab(64.63% -0.0148 0.1122)
OKLCHoklch(64.63% 0.113 97.5)
XYZxyz(24.9265, 27.1460, 6.8319)
Luminance0.2715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18E31 #3144A1
analogous
#A15631 #A18E31 #7CA131
triadic
#A18E31 #31A18E #8E31A1
tetradic
#A18E31 #31A156 #3144A1 #A1317C
square
#A18E31 #31A156 #3144A1 #A1317C
split-complementary
#A18E31 #317CA1 #5631A1
monochromatic
#433B14 #726523 #A18E31 #C7B248 #D6C577

Accessibility & contrast

On white

3.27
#A18E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#A18E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18E31
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18E31#FFFFFF#000000##000000
##A18E311.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B24
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#AE837B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a18e31;
/* rgb */ color: rgb(161, 142, 49);
/* oklch */ color: oklch(64.6% 0.113 97.5);
Tailwind
colors: {
  custom: {
    50: '#c0ae6e',
    500: '#a18e31',
    950: '#000000',
  },
}
SCSS
$custom: #a18e31;
$custom-light: #c0ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a18e31",
  "rgb": {
    "r": 161,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 49.821,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64626,
    "c": 0.11316,
    "h": 97.5
  },
  "luminance": 0.27145
}

Semantic roles & 50–950 ramp

primary
#A18E31
secondary
#707DBE
accent
#64DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18E31

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

Preview Lab → · Contrast checker → · Palette generator →

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