#A18E28#A18E28

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

Color values

HEX#A18E28
RGBrgb(161, 142, 40)
HSLhsl(51, 60%, 39%)
HSVhsv(51, 75%, 63%)
CMYKcmyk(0%, 11.8%, 75.2%, 36.9%)
CIE-LABlab(59.05, -4.16, 53.58)
CIE-LCHlch(59.05, 53.74, 94.44°)
OKLaboklab(64.56% -0.0171 0.118)
OKLCHoklch(64.56% 0.119 98.2)
XYZxyz(24.7552, 27.0775, 5.9296)
Luminance0.2708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18E28 #283BA1
analogous
#A15228 #A18E28 #77A128
triadic
#A18E28 #28A18E #8E28A1
tetradic
#A18E28 #28A152 #283BA1 #A12877
square
#A18E28 #28A152 #283BA1 #A12877
split-complementary
#A18E28 #2877A1 #5228A1
monochromatic
#3F3810 #70631C #A18E28 #CEB639 #DAC86A

Accessibility & contrast

On white

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

On black

6.42
#A18E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18E28
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18E28#FFFFFF#000000##000000
##A18E281.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A16
Deuteranopia (green-blind)
#A2912F
Tritanopia (blue-blind)
#AE837A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a18e28;
/* rgb */ color: rgb(161, 142, 40);
/* oklch */ color: oklch(64.6% 0.119 98.2);
Tailwind
colors: {
  custom: {
    50: '#c0ae6a',
    500: '#a18e28',
    950: '#000000',
  },
}
SCSS
$custom: #a18e28;
$custom-light: #c0ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a18e28",
  "rgb": {
    "r": 161,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 50.579,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64556,
    "c": 0.11925,
    "h": 98.2
  },
  "luminance": 0.27076
}

Semantic roles & 50–950 ramp

primary
#A18E28
secondary
#6573C0
accent
#5DE344
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18E28

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

Preview Lab → · Contrast checker → · Palette generator →

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