#A28E31#A28E31

#A28E31 is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.7% C 0.113 H 96.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A28E31
RGBrgb(162, 142, 49)
HSLhsl(49, 54%, 41%)
HSVhsv(49, 70%, 64%)
CMYKcmyk(0%, 12.3%, 69.8%, 36.5%)
CIE-LABlab(59.21, -3.25, 50.15)
CIE-LCHlch(59.21, 50.26, 93.71°)
OKLaboklab(64.72% -0.0135 0.1124)
OKLCHoklch(64.72% 0.113 96.9)
XYZxyz(25.1289, 27.2504, 6.8414)
Luminance0.2725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28E31 #3145A2
analogous
#A25631 #A28E31 #7EA231
triadic
#A28E31 #31A28E #8E31A2
tetradic
#A28E31 #31A256 #3145A2 #A2317E
square
#A28E31 #31A256 #3145A2 #A2317E
split-complementary
#A28E31 #317EA2 #5631A2
monochromatic
#443C15 #736523 #A28E31 #C8B148 #D6C577

Accessibility & contrast

On white

3.26
#A28E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#A28E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28E31
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28E31#FFFFFF#000000##000000
##A28E311.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B24
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#AF837B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a28e31;
/* rgb */ color: rgb(162, 142, 49);
/* oklch */ color: oklch(64.7% 0.113 96.9);
Tailwind
colors: {
  custom: {
    50: '#c1ae6f',
    500: '#a28e31',
    950: '#000000',
  },
}
SCSS
$custom: #a28e31;
$custom-light: #c1ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a28e31",
  "rgb": {
    "r": 162,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 49.381,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64725,
    "c": 0.11324,
    "h": 96.9
  },
  "luminance": 0.27249
}

Semantic roles & 50–950 ramp

primary
#A28E31
secondary
#717EBE
accent
#65DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28E31

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

Preview Lab → · Contrast checker → · Palette generator →

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