#A28A31#A28A31

#A28A31 is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.9% C 0.110 H 93.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A28A31
RGBrgb(162, 138, 49)
HSLhsl(47, 54%, 41%)
HSVhsv(47, 70%, 64%)
CMYKcmyk(0%, 14.8%, 69.8%, 36.5%)
CIE-LABlab(58.11, -1.06, 49.03)
CIE-LCHlch(58.11, 49.05, 91.23°)
OKLaboklab(63.86% -0.0073 0.1101)
OKLCHoklch(63.86% 0.11 93.8)
XYZxyz(24.5444, 26.0814, 6.6465)
Luminance0.2608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28A31 #3149A2
analogous
#A25231 #A28A31 #82A231
triadic
#A28A31 #31A28A #8A31A2
tetradic
#A28A31 #31A252 #3149A2 #A23182
square
#A28A31 #31A252 #3149A2 #A23182
split-complementary
#A28A31 #3182A2 #5231A2
monochromatic
#443A15 #736223 #A28A31 #C8AD48 #D6C277

Accessibility & contrast

On white

3.38
#A28A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#A28A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28A31
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28A31#FFFFFF#000000##000000
##A28A311.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988825
Deuteranopia (green-blind)
#9F8F36
Tritanopia (blue-blind)
#AF7F78
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a28a31;
/* rgb */ color: rgb(162, 138, 49);
/* oklch */ color: oklch(63.9% 0.110 93.8);
Tailwind
colors: {
  custom: {
    50: '#c1ab6e',
    500: '#a28a31',
    950: '#000000',
  },
}
SCSS
$custom: #a28a31;
$custom-light: #c1ab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a28a31",
  "rgb": {
    "r": 162,
    "g": 138,
    "b": 49
  },
  "hsl": {
    "h": 47.257,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63862,
    "c": 0.1103,
    "h": 93.8
  },
  "luminance": 0.2608
}

Semantic roles & 50–950 ramp

primary
#A28A31
secondary
#7181BE
accent
#6ADD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28A31

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

Preview Lab → · Contrast checker → · Palette generator →

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