#A28E28#A28E28

#A28E28 is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.7% C 0.119 H 97.6°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A28E28
RGBrgb(162, 142, 40)
HSLhsl(50, 60%, 40%)
HSVhsv(50, 75%, 64%)
CMYKcmyk(0%, 12.3%, 75.3%, 36.5%)
CIE-LABlab(59.14, -3.71, 53.71)
CIE-LCHlch(59.14, 53.83, 93.95°)
OKLaboklab(64.66% -0.0159 0.1182)
OKLCHoklch(64.66% 0.119 97.6)
XYZxyz(24.9576, 27.1819, 5.9391)
Luminance0.2718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28E28 #283CA2
analogous
#A25128 #A28E28 #79A228
triadic
#A28E28 #28A28E #8E28A2
tetradic
#A28E28 #28A251 #283CA2 #A22879
square
#A28E28 #28A251 #283CA2 #A22879
split-complementary
#A28E28 #2879A2 #5128A2
monochromatic
#403810 #71631C #A28E28 #CEB639 #DAC86A

Accessibility & contrast

On white

3.26
#A28E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#A28E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28E28
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28E28#FFFFFF#000000##000000
##A28E281.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B16
Deuteranopia (green-blind)
#A2912F
Tritanopia (blue-blind)
#AF837A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a28e28;
/* rgb */ color: rgb(162, 142, 40);
/* oklch */ color: oklch(64.7% 0.119 97.6);
Tailwind
colors: {
  custom: {
    50: '#c1ae6a',
    500: '#a28e28',
    950: '#000000',
  },
}
SCSS
$custom: #a28e28;
$custom-light: #c1ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a28e28",
  "rgb": {
    "r": 162,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 50.164,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64655,
    "c": 0.1193,
    "h": 97.6
  },
  "luminance": 0.27181
}

Semantic roles & 50–950 ramp

primary
#A28E28
secondary
#6574C1
accent
#5EE444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A28E28

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

Preview Lab → · Contrast checker → · Palette generator →

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