#A28E2C#A28E2C

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

Color values

HEX#A28E2C
RGBrgb(162, 142, 44)
HSLhsl(50, 57%, 40%)
HSVhsv(50, 73%, 64%)
CMYKcmyk(0%, 12.3%, 72.8%, 36.5%)
CIE-LABlab(59.17, -3.52, 52.18)
CIE-LCHlch(59.17, 52.30, 93.86°)
OKLaboklab(64.68% -0.0149 0.1158)
OKLCHoklch(64.68% 0.117 97.3)
XYZxyz(25.0291, 27.2105, 6.3162)
Luminance0.2721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28E2C #2C40A2
analogous
#A2532C #A28E2C #7BA22C
triadic
#A28E2C #2CA28E #8E2CA2
tetradic
#A28E2C #2CA253 #2C40A2 #A22C7B
square
#A28E2C #2CA253 #2C40A2 #A22C7B
split-complementary
#A28E2C #2C7BA2 #532CA2
monochromatic
#423A12 #72641F #A28E2C #CBB440 #D8C770

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A28E2C#FFFFFF#000000##000000
##A28E2C1.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)
#9C8B1D
Deuteranopia (green-blind)
#A29132
Tritanopia (blue-blind)
#AF837B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a28e2c;
/* rgb */ color: rgb(162, 142, 44);
/* oklch */ color: oklch(64.7% 0.117 97.3);
Tailwind
colors: {
  custom: {
    50: '#c1ae6c',
    500: '#a28e2c',
    950: '#000000',
  },
}
SCSS
$custom: #a28e2c;
$custom-light: #c1ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a28e2c",
  "rgb": {
    "r": 162,
    "g": 142,
    "b": 44
  },
  "hsl": {
    "h": 49.831,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64684,
    "c": 0.11674,
    "h": 97.3
  },
  "luminance": 0.27209
}

Semantic roles & 50–950 ramp

primary
#A28E2C
secondary
#6A79BF
accent
#61E147
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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