#A28B31#A28B31

#A28B31 is a light, moderate yellow. Relative luminance 0.264; OKLCH L 64.1% C 0.111 H 94.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A28B31
RGBrgb(162, 139, 49)
HSLhsl(48, 54%, 41%)
HSVhsv(48, 70%, 64%)
CMYKcmyk(0%, 14.2%, 69.8%, 36.5%)
CIE-LABlab(58.39, -1.61, 49.31)
CIE-LCHlch(58.39, 49.34, 91.87°)
OKLaboklab(64.08% -0.0088 0.1107)
OKLCHoklch(64.08% 0.111 94.6)
XYZxyz(24.6885, 26.3697, 6.6946)
Luminance0.2637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28B31 #3148A2
analogous
#A25331 #A28B31 #81A231
triadic
#A28B31 #31A28B #8B31A2
tetradic
#A28B31 #31A253 #3148A2 #A23181
square
#A28B31 #31A253 #3148A2 #A23181
split-complementary
#A28B31 #3181A2 #5331A2
monochromatic
#443A15 #736323 #A28B31 #C8AE48 #D6C377

Accessibility & contrast

On white

3.35
#A28B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#A28B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28B31
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28B31#FFFFFF#000000##000000
##A28B311.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a28b31;
/* rgb */ color: rgb(162, 139, 49);
/* oklch */ color: oklch(64.1% 0.111 94.6);
Tailwind
colors: {
  custom: {
    50: '#c1ac6e',
    500: '#a28b31',
    950: '#000000',
  },
}
SCSS
$custom: #a28b31;
$custom-light: #c1ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a28b31",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 47.788,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64077,
    "c": 0.11101,
    "h": 94.6
  },
  "luminance": 0.26368
}

Semantic roles & 50–950 ramp

primary
#A28B31
secondary
#7180BE
accent
#69DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28B31

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

Preview Lab → · Contrast checker → · Palette generator →

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