#A28F40#A28F40

#A28F40 is a light, moderate yellow. Relative luminance 0.277; OKLCH L 65.1% C 0.102 H 95.9°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A28F40
RGBrgb(162, 143, 64)
HSLhsl(48, 43%, 44%)
HSVhsv(48, 60%, 64%)
CMYKcmyk(0%, 11.7%, 60.5%, 36.5%)
CIE-LABlab(59.61, -2.82, 43.75)
CIE-LCHlch(59.61, 43.84, 93.68°)
OKLaboklab(65.09% -0.0104 0.1012)
OKLCHoklch(65.09% 0.102 95.9)
XYZxyz(25.6492, 27.6977, 8.8446)
Luminance0.2770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28F40 #4053A2
analogous
#A25E40 #A28F40 #84A240
triadic
#A28F40 #40A28F #8F40A2
tetradic
#A28F40 #40A25E #4053A2 #A24084
square
#A28F40 #40A25E #4053A2 #A24084
split-complementary
#A28F40 #4084A2 #5E40A2
monochromatic
#4A421D #76682F #A28F40 #C0AD5F #D1C48B

Accessibility & contrast

On white

3.21
#A28F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#A28F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28F40
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28F40#FFFFFF#000000##000000
##A28F401.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C38
Deuteranopia (green-blind)
#A19244
Tritanopia (blue-blind)
#AE857E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a28f40;
/* rgb */ color: rgb(162, 143, 64);
/* oklch */ color: oklch(65.1% 0.102 95.9);
Tailwind
colors: {
  custom: {
    50: '#c0af78',
    500: '#a28f40',
    950: '#000000',
  },
}
SCSS
$custom: #a28f40;
$custom-light: #c0af78;
$custom-dark: #000000;
JSON
{
  "hex": "#a28f40",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 48.367,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.65092,
    "c": 0.10171,
    "h": 95.9
  },
  "luminance": 0.27696
}

Semantic roles & 50–950 ramp

primary
#A28F40
secondary
#828DBC
accent
#6DD355
background
#FCFAF7
surface
#F8F4ED
border
#D1CEC8
text
#131009
muted
#827F7B

Preview Lab

Preview with #A28F40

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

Preview Lab → · Contrast checker → · Palette generator →

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