#A28A2F#A28A2F

#A28A2F is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.8% C 0.112 H 94.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A28A2F
RGBrgb(162, 138, 47)
HSLhsl(47, 55%, 41%)
HSVhsv(47, 71%, 64%)
CMYKcmyk(0%, 14.8%, 71%, 36.5%)
CIE-LABlab(58.10, -1.17, 49.88)
CIE-LCHlch(58.10, 49.89, 91.34°)
OKLaboklab(63.84% -0.0078 0.1115)
OKLCHoklch(63.84% 0.112 94)
XYZxyz(24.5031, 26.0649, 6.4292)
Luminance0.2606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28A2F #2F47A2
analogous
#A2502F #A28A2F #80A22F
triadic
#A28A2F #2FA28A #8A2FA2
tetradic
#A28A2F #2FA250 #2F47A2 #A22F80
square
#A28A2F #2FA250 #2F47A2 #A22F80
split-complementary
#A28A2F #2F80A2 #502FA2
monochromatic
#433913 #736221 #A28A2F #C9AE45 #D7C275

Accessibility & contrast

On white

3.38
#A28A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#A28A2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28A2F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28A2F#FFFFFF#000000##000000
##A28A2F1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a28a2f;
/* rgb */ color: rgb(162, 138, 47);
/* oklch */ color: oklch(63.8% 0.112 94.0);
Tailwind
colors: {
  custom: {
    50: '#c1ab6d',
    500: '#a28a2f',
    950: '#000000',
  },
}
SCSS
$custom: #a28a2f;
$custom-light: #c1ab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a28a2f",
  "rgb": {
    "r": 162,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 47.478,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63844,
    "c": 0.11175,
    "h": 94
  },
  "luminance": 0.26064
}

Semantic roles & 50–950 ramp

primary
#A28A2F
secondary
#6E7FBF
accent
#69DE49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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