#A28F2E#A28F2E

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

Color values

HEX#A28F2E
RGBrgb(162, 143, 46)
HSLhsl(50, 56%, 41%)
HSVhsv(50, 72%, 64%)
CMYKcmyk(0%, 11.7%, 71.6%, 36.5%)
CIE-LABlab(59.46, -3.96, 51.66)
CIE-LCHlch(59.46, 51.81, 94.39°)
OKLaboklab(64.92% -0.0159 0.1151)
OKLCHoklch(64.92% 0.116 97.9)
XYZxyz(25.2171, 27.5248, 6.5688)
Luminance0.2752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28F2E #2E41A2
analogous
#A2552E #A28F2E #7BA22E
triadic
#A28F2E #2EA28F #8F2EA2
tetradic
#A28F2E #2EA255 #2E41A2 #A22E7B
square
#A28F2E #2EA255 #2E41A2 #A22E7B
split-complementary
#A28F2E #2E7BA2 #552EA2
monochromatic
#433B13 #726520 #A28F2E #CAB443 #D7C773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A28F2E#FFFFFF#000000##000000
##A28F2E1.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)
#9D8B20
Deuteranopia (green-blind)
#A29234
Tritanopia (blue-blind)
#AF847C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a28f2e;
/* rgb */ color: rgb(162, 143, 46);
/* oklch */ color: oklch(64.9% 0.116 97.9);
Tailwind
colors: {
  custom: {
    50: '#c1af6d',
    500: '#a28f2e',
    950: '#000000',
  },
}
SCSS
$custom: #a28f2e;
$custom-light: #c1af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a28f2e",
  "rgb": {
    "r": 162,
    "g": 143,
    "b": 46
  },
  "hsl": {
    "h": 50.172,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64917,
    "c": 0.11616,
    "h": 97.9
  },
  "luminance": 0.27524
}

Semantic roles & 50–950 ramp

primary
#A28F2E
secondary
#6D7ABF
accent
#61DF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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