#A28B2F#A28B2F

#A28B2F is a light, moderate yellow. Relative luminance 0.264; OKLCH L 64.1% C 0.112 H 94.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A28B2F
RGBrgb(162, 139, 47)
HSLhsl(48, 55%, 41%)
HSVhsv(48, 71%, 64%)
CMYKcmyk(0%, 14.2%, 71%, 36.5%)
CIE-LABlab(58.37, -1.72, 50.15)
CIE-LCHlch(58.37, 50.18, 91.96°)
OKLaboklab(64.06% -0.0094 0.1121)
OKLCHoklch(64.06% 0.112 94.8)
XYZxyz(24.6472, 26.3532, 6.4772)
Luminance0.2635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28B2F #2F46A2
analogous
#A2512F #A28B2F #7FA22F
triadic
#A28B2F #2FA28B #8B2FA2
tetradic
#A28B2F #2FA251 #2F46A2 #A22F7F
square
#A28B2F #2FA251 #2F46A2 #A22F7F
split-complementary
#A28B2F #2F7FA2 #512FA2
monochromatic
#433A13 #736221 #A28B2F #C9AF45 #D7C375

Accessibility & contrast

On white

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

On black

6.27
#A28B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28B2F
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28B2F#FFFFFF#000000##000000
##A28B2F1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a28b2f;
/* rgb */ color: rgb(162, 139, 47);
/* oklch */ color: oklch(64.1% 0.112 94.8);
Tailwind
colors: {
  custom: {
    50: '#c1ac6d',
    500: '#a28b2f',
    950: '#000000',
  },
}
SCSS
$custom: #a28b2f;
$custom-light: #c1ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a28b2f",
  "rgb": {
    "r": 162,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 48,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64059,
    "c": 0.11245,
    "h": 94.8
  },
  "luminance": 0.26352
}

Semantic roles & 50–950 ramp

primary
#A28B2F
secondary
#6E7EBF
accent
#67DE49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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