#A28C2F#A28C2F

#A28C2F is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.3% C 0.113 H 95.6°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A28C2F
RGBrgb(162, 140, 47)
HSLhsl(49, 55%, 41%)
HSVhsv(49, 71%, 64%)
CMYKcmyk(0%, 13.6%, 71%, 36.5%)
CIE-LABlab(58.64, -2.27, 50.43)
CIE-LCHlch(58.64, 50.48, 92.57°)
OKLaboklab(64.28% -0.011 0.1127)
OKLCHoklch(64.28% 0.113 95.6)
XYZxyz(24.7927, 26.6441, 6.5257)
Luminance0.2664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28C2F #2F45A2
analogous
#A2522F #A28C2F #7EA22F
triadic
#A28C2F #2FA28C #8C2FA2
tetradic
#A28C2F #2FA252 #2F45A2 #A22F7E
square
#A28C2F #2FA252 #2F45A2 #A22F7E
split-complementary
#A28C2F #2F7EA2 #522FA2
monochromatic
#433A13 #736321 #A28C2F #C9B045 #D7C475

Accessibility & contrast

On white

3.32
#A28C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#A28C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28C2F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28C2F#FFFFFF#000000##000000
##A28C2F1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8922
Deuteranopia (green-blind)
#A09034
Tritanopia (blue-blind)
#AF8179
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a28c2f;
/* rgb */ color: rgb(162, 140, 47);
/* oklch */ color: oklch(64.3% 0.113 95.6);
Tailwind
colors: {
  custom: {
    50: '#c1ad6d',
    500: '#a28c2f',
    950: '#000000',
  },
}
SCSS
$custom: #a28c2f;
$custom-light: #c1ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a28c2f",
  "rgb": {
    "r": 162,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 48.522,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64275,
    "c": 0.11318,
    "h": 95.6
  },
  "luminance": 0.26643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A28C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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