#A28C27#A28C27

#A28C27 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.2% C 0.118 H 96.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A28C27
RGBrgb(162, 140, 39)
HSLhsl(49, 61%, 39%)
HSVhsv(49, 76%, 64%)
CMYKcmyk(0%, 13.6%, 75.9%, 36.5%)
CIE-LABlab(58.59, -2.66, 53.56)
CIE-LCHlch(58.59, 53.62, 92.85°)
OKLaboklab(64.21% -0.013 0.1177)
OKLCHoklch(64.21% 0.118 96.3)
XYZxyz(24.6459, 26.5854, 5.7524)
Luminance0.2658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28C27 #273DA2
analogous
#A24E27 #A28C27 #7BA227
triadic
#A28C27 #27A28C #8C27A2
tetradic
#A28C27 #27A24E #273DA2 #A2277B
square
#A28C27 #27A24E #273DA2 #A2277B
split-complementary
#A28C27 #277BA2 #4E27A2
monochromatic
#3F370F #71611B #A28C27 #CFB437 #DBC669

Accessibility & contrast

On white

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

On black

6.32
#A28C27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28C27
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28C27#FFFFFF#000000##000000
##A28C271.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8915
Deuteranopia (green-blind)
#A0902D
Tritanopia (blue-blind)
#AF8178
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a28c27;
/* rgb */ color: rgb(162, 140, 39);
/* oklch */ color: oklch(64.2% 0.118 96.3);
Tailwind
colors: {
  custom: {
    50: '#c1ad69',
    500: '#a28c27',
    950: '#000000',
  },
}
SCSS
$custom: #a28c27;
$custom-light: #c1ad69;
$custom-dark: #000000;
JSON
{
  "hex": "#a28c27",
  "rgb": {
    "r": 162,
    "g": 140,
    "b": 39
  },
  "hsl": {
    "h": 49.268,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64214,
    "c": 0.11844,
    "h": 96.3
  },
  "luminance": 0.26584
}

Semantic roles & 50–950 ramp

primary
#A28C27
secondary
#6475C1
accent
#60E443
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28C27

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

Preview Lab → · Contrast checker → · Palette generator →

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