#A18F28#A18F28

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

Color values

HEX#A18F28
RGBrgb(161, 143, 40)
HSLhsl(51, 60%, 39%)
HSVhsv(51, 75%, 63%)
CMYKcmyk(0%, 11.2%, 75.2%, 36.9%)
CIE-LABlab(59.32, -4.71, 53.84)
CIE-LCHlch(59.32, 54.05, 95.00°)
OKLaboklab(64.77% -0.0186 0.1186)
OKLCHoklch(64.77% 0.12 98.9)
XYZxyz(24.9046, 27.3764, 5.9794)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A18F28 #283AA1
analogous
#A15228 #A18F28 #77A128
triadic
#A18F28 #28A18F #8F28A1
tetradic
#A18F28 #28A152 #283AA1 #A12877
square
#A18F28 #28A152 #283AA1 #A12877
split-complementary
#A18F28 #2877A1 #5228A1
monochromatic
#3F3810 #70631C #A18F28 #CEB739 #DAC96A

Accessibility & contrast

On white

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

On black

6.48
#A18F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A18F28
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A18F28#FFFFFF#000000##000000
##A18F281.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a18f28;
/* rgb */ color: rgb(161, 143, 40);
/* oklch */ color: oklch(64.8% 0.120 98.9);
Tailwind
colors: {
  custom: {
    50: '#c0af6a',
    500: '#a18f28',
    950: '#000000',
  },
}
SCSS
$custom: #a18f28;
$custom-light: #c0af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a18f28",
  "rgb": {
    "r": 161,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 51.074,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64774,
    "c": 0.12004,
    "h": 98.9
  },
  "luminance": 0.27375
}

Semantic roles & 50–950 ramp

primary
#A18F28
secondary
#6572C0
accent
#5CE344
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A18F28

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

Preview Lab → · Contrast checker → · Palette generator →

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