#A28B28#A28B28

#A28B28 is a light, moderate yellow. Relative luminance 0.263; OKLCH L 64.0% C 0.117 H 95.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A28B28
RGBrgb(162, 139, 40)
HSLhsl(49, 60%, 40%)
HSVhsv(49, 75%, 64%)
CMYKcmyk(0%, 14.2%, 75.3%, 36.5%)
CIE-LABlab(58.32, -2.07, 52.92)
CIE-LCHlch(58.32, 52.96, 92.24°)
OKLaboklab(64.01% -0.0112 0.1166)
OKLCHoklch(64.01% 0.117 95.5)
XYZxyz(24.5172, 26.3012, 5.7923)
Luminance0.2630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28B28 #283FA2
analogous
#A24E28 #A28B28 #7CA228
triadic
#A28B28 #28A28B #8B28A2
tetradic
#A28B28 #28A24E #283FA2 #A2287C
square
#A28B28 #28A24E #283FA2 #A2287C
split-complementary
#A28B28 #287CA2 #4E28A2
monochromatic
#403710 #71611C #A28B28 #CEB239 #DAC56A

Accessibility & contrast

On white

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

On black

6.26
#A28B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28B28
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28B28#FFFFFF#000000##000000
##A28B281.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8817
Deuteranopia (green-blind)
#A08F2E
Tritanopia (blue-blind)
#AF8078
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a28b28;
/* rgb */ color: rgb(162, 139, 40);
/* oklch */ color: oklch(64.0% 0.117 95.5);
Tailwind
colors: {
  custom: {
    50: '#c1ac69',
    500: '#a28b28',
    950: '#000000',
  },
}
SCSS
$custom: #a28b28;
$custom-light: #c1ac69;
$custom-dark: #000000;
JSON
{
  "hex": "#a28b28",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 40
  },
  "hsl": {
    "h": 48.689,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64005,
    "c": 0.11712,
    "h": 95.5
  },
  "luminance": 0.263
}

Semantic roles & 50–950 ramp

primary
#A28B28
secondary
#6576C1
accent
#62E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28B28

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

Preview Lab → · Contrast checker → · Palette generator →

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