#A28E2A#A28E2A

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

Color values

HEX#A28E2A
RGBrgb(162, 142, 42)
HSLhsl(50, 59%, 40%)
HSVhsv(50, 74%, 64%)
CMYKcmyk(0%, 12.3%, 74.1%, 36.5%)
CIE-LABlab(59.16, -3.62, 52.95)
CIE-LCHlch(59.16, 53.08, 93.91°)
OKLaboklab(64.67% -0.0154 0.117)
OKLCHoklch(64.67% 0.118 97.5)
XYZxyz(24.9925, 27.1958, 6.1229)
Luminance0.2720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28E2A #2A3EA2
analogous
#A2522A #A28E2A #7AA22A
triadic
#A28E2A #2AA28E #8E2AA2
tetradic
#A28E2A #2AA252 #2A3EA2 #A22A7A
square
#A28E2A #2AA252 #2A3EA2 #A22A7A
split-complementary
#A28E2A #2A7AA2 #522AA2
monochromatic
#413911 #71631D #A28E2A #CDB53D #D9C76D

Accessibility & contrast

On white

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

On black

6.44
#A28E2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28E2A
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28E2A#FFFFFF#000000##000000
##A28E2A1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B19
Deuteranopia (green-blind)
#A29130
Tritanopia (blue-blind)
#AF837A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a28e2a;
/* rgb */ color: rgb(162, 142, 42);
/* oklch */ color: oklch(64.7% 0.118 97.5);
Tailwind
colors: {
  custom: {
    50: '#c1ae6b',
    500: '#a28e2a',
    950: '#000000',
  },
}
SCSS
$custom: #a28e2a;
$custom-light: #c1ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a28e2a",
  "rgb": {
    "r": 162,
    "g": 142,
    "b": 42
  },
  "hsl": {
    "h": 50,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.64669,
    "c": 0.11805,
    "h": 97.5
  },
  "luminance": 0.27195
}

Semantic roles & 50–950 ramp

primary
#A28E2A
secondary
#6876C0
accent
#60E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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