#A28F2D#A28F2D

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

Color values

HEX#A28F2D
RGBrgb(162, 143, 45)
HSLhsl(50, 57%, 41%)
HSVhsv(50, 72%, 64%)
CMYKcmyk(0%, 11.7%, 72.2%, 36.5%)
CIE-LABlab(59.45, -4.01, 52.06)
CIE-LCHlch(59.45, 52.21, 94.41°)
OKLaboklab(64.91% -0.0162 0.1157)
OKLCHoklch(64.91% 0.117 98)
XYZxyz(25.1976, 27.5170, 6.4662)
Luminance0.2752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28F2D #2D40A2
analogous
#A2542D #A28F2D #7BA22D
triadic
#A28F2D #2DA28F #8F2DA2
tetradic
#A28F2D #2DA254 #2D40A2 #A22D7B
square
#A28F2D #2DA254 #2D40A2 #A22D7B
split-complementary
#A28F2D #2D7BA2 #542DA2
monochromatic
#423A12 #726520 #A28F2D #CAB442 #D8C772

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A28F2D#FFFFFF#000000##000000
##A28F2D1.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)
#9D8B1E
Deuteranopia (green-blind)
#A29233
Tritanopia (blue-blind)
#AF847B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a28f2d;
/* rgb */ color: rgb(162, 143, 45);
/* oklch */ color: oklch(64.9% 0.117 98.0);
Tailwind
colors: {
  custom: {
    50: '#c1af6c',
    500: '#a28f2d',
    950: '#000000',
  },
}
SCSS
$custom: #a28f2d;
$custom-light: #c1af6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a28f2d",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 45
  },
  "hsl": {
    "h": 50.256,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64909,
    "c": 0.11685,
    "h": 98
  },
  "luminance": 0.27516
}

Semantic roles & 50–950 ramp

primary
#A28F2D
secondary
#6C79BF
accent
#61E048
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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