#A28F2A#A28F2A

#A28F2A is a light, moderate yellow. Relative luminance 0.275; OKLCH L 64.9% C 0.119 H 98.2°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A28F2A
RGBrgb(162, 143, 42)
HSLhsl(51, 59%, 40%)
HSVhsv(51, 74%, 64%)
CMYKcmyk(0%, 11.7%, 74.1%, 36.5%)
CIE-LABlab(59.43, -4.16, 53.22)
CIE-LCHlch(59.43, 53.38, 94.47°)
OKLaboklab(64.89% -0.0169 0.1176)
OKLCHoklch(64.89% 0.119 98.2)
XYZxyz(25.1419, 27.4947, 6.1728)
Luminance0.2749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28F2A #2A3DA2
analogous
#A2532A #A28F2A #79A22A
triadic
#A28F2A #2AA28F #8F2AA2
tetradic
#A28F2A #2AA253 #2A3DA2 #A22A79
square
#A28F2A #2AA253 #2A3DA2 #A22A79
split-complementary
#A28F2A #2A79A2 #532AA2
monochromatic
#413911 #71641D #A28F2A #CDB63D #D9C86D

Accessibility & contrast

On white

3.23
#A28F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#A28F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28F2A
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28F2A#FFFFFF#000000##000000
##A28F2A1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B19
Deuteranopia (green-blind)
#A39230
Tritanopia (blue-blind)
#AF847B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a28f2a;
/* rgb */ color: rgb(162, 143, 42);
/* oklch */ color: oklch(64.9% 0.119 98.2);
Tailwind
colors: {
  custom: {
    50: '#c1af6b',
    500: '#a28f2a',
    950: '#000000',
  },
}
SCSS
$custom: #a28f2a;
$custom-light: #c1af6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a28f2a",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 50.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.64886,
    "c": 0.11882,
    "h": 98.2
  },
  "luminance": 0.27493
}

Semantic roles & 50–950 ramp

primary
#A28F2A
secondary
#6876C0
accent
#5FE246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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