#A28C2B#A28C2B

#A28C2B is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.2% C 0.116 H 96.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A28C2B
RGBrgb(162, 140, 43)
HSLhsl(49, 58%, 40%)
HSVhsv(49, 73%, 64%)
CMYKcmyk(0%, 13.6%, 73.5%, 36.5%)
CIE-LABlab(58.61, -2.47, 52.03)
CIE-LCHlch(58.61, 52.09, 92.72°)
OKLaboklab(64.24% -0.012 0.1153)
OKLCHoklch(64.24% 0.116 96)
XYZxyz(24.7157, 26.6133, 6.1201)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28C2B #2B41A2
analogous
#A2512B #A28C2B #7CA22B
triadic
#A28C2B #2BA28C #8C2BA2
tetradic
#A28C2B #2BA251 #2B41A2 #A22B7C
square
#A28C2B #2BA251 #2B41A2 #A22B7C
split-complementary
#A28C2B #2B7CA2 #512BA2
monochromatic
#413811 #72621E #A28C2B #CCB23E #D9C56F

Accessibility & contrast

On white

3.32
#A28C2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#A28C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28C2B
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28C2B#FFFFFF#000000##000000
##A28C2B1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891C
Deuteranopia (green-blind)
#A09031
Tritanopia (blue-blind)
#AF8179
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a28c2b;
/* rgb */ color: rgb(162, 140, 43);
/* oklch */ color: oklch(64.2% 0.116 96.0);
Tailwind
colors: {
  custom: {
    50: '#c1ad6b',
    500: '#a28c2b',
    950: '#000000',
  },
}
SCSS
$custom: #a28c2b;
$custom-light: #c1ad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a28c2b",
  "rgb": {
    "r": 162,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 48.908,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64243,
    "c": 0.11591,
    "h": 96
  },
  "luminance": 0.26612
}

Semantic roles & 50–950 ramp

primary
#A28C2B
secondary
#6979C0
accent
#63E147
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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