#A28D28#A28D28

#A28D28 is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.4% C 0.119 H 96.9°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A28D28
RGBrgb(162, 141, 40)
HSLhsl(50, 60%, 40%)
HSVhsv(50, 75%, 64%)
CMYKcmyk(0%, 13%, 75.3%, 36.5%)
CIE-LABlab(58.87, -3.17, 53.45)
CIE-LCHlch(58.87, 53.54, 93.39°)
OKLaboklab(64.44% -0.0143 0.1177)
OKLCHoklch(64.44% 0.119 96.9)
XYZxyz(24.8094, 26.8856, 5.8897)
Luminance0.2688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28D28 #283DA2
analogous
#A25028 #A28D28 #7AA228
triadic
#A28D28 #28A28D #8D28A2
tetradic
#A28D28 #28A250 #283DA2 #A2287A
square
#A28D28 #28A250 #283DA2 #A2287A
split-complementary
#A28D28 #287AA2 #5028A2
monochromatic
#403810 #71621C #A28D28 #CEB439 #DAC76A

Accessibility & contrast

On white

3.29
#A28D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#A28D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28D28
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28D28#FFFFFF#000000##000000
##A28D281.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A16
Deuteranopia (green-blind)
#A1912E
Tritanopia (blue-blind)
#AF8279
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a28d28;
/* rgb */ color: rgb(162, 141, 40);
/* oklch */ color: oklch(64.4% 0.119 96.9);
Tailwind
colors: {
  custom: {
    50: '#c1ae6a',
    500: '#a28d28',
    950: '#000000',
  },
}
SCSS
$custom: #a28d28;
$custom-light: #c1ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a28d28",
  "rgb": {
    "r": 162,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 49.672,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64438,
    "c": 0.11856,
    "h": 96.9
  },
  "luminance": 0.26884
}

Semantic roles & 50–950 ramp

primary
#A28D28
secondary
#6575C1
accent
#60E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28D28

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

Preview Lab → · Contrast checker → · Palette generator →

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