#A28D2F#A28D2F

#A28D2F is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.5% C 0.114 H 96.3°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A28D2F
RGBrgb(162, 141, 47)
HSLhsl(49, 55%, 41%)
HSVhsv(49, 71%, 64%)
CMYKcmyk(0%, 13%, 71%, 36.5%)
CIE-LABlab(58.92, -2.82, 50.70)
CIE-LCHlch(58.92, 50.78, 93.18°)
OKLaboklab(64.49% -0.0125 0.1132)
OKLCHoklch(64.49% 0.114 96.3)
XYZxyz(24.9395, 26.9377, 6.5746)
Luminance0.2694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28D2F #2F44A2
analogous
#A2532F #A28D2F #7DA22F
triadic
#A28D2F #2FA28D #8D2FA2
tetradic
#A28D2F #2FA253 #2F44A2 #A22F7D
square
#A28D2F #2FA253 #2F44A2 #A22F7D
split-complementary
#A28D2F #2F7DA2 #532FA2
monochromatic
#433A13 #736421 #A28D2F #C9B145 #D7C575

Accessibility & contrast

On white

3.29
#A28D2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#A28D2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28D2F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28D2F#FFFFFF#000000##000000
##A28D2F1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A22
Deuteranopia (green-blind)
#A19134
Tritanopia (blue-blind)
#AF827A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a28d2f;
/* rgb */ color: rgb(162, 141, 47);
/* oklch */ color: oklch(64.5% 0.114 96.3);
Tailwind
colors: {
  custom: {
    50: '#c1ae6d',
    500: '#a28d2f',
    950: '#000000',
  },
}
SCSS
$custom: #a28d2f;
$custom-light: #c1ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a28d2f",
  "rgb": {
    "r": 162,
    "g": 141,
    "b": 47
  },
  "hsl": {
    "h": 49.043,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64491,
    "c": 0.11392,
    "h": 96.3
  },
  "luminance": 0.26936
}

Semantic roles & 50–950 ramp

primary
#A28D2F
secondary
#6E7DBF
accent
#65DE49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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