#A28938#A28938

#A28938 is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.7% C 0.104 H 92.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A28938
RGBrgb(162, 137, 56)
HSLhsl(46, 49%, 43%)
HSVhsv(46, 65%, 64%)
CMYKcmyk(0%, 15.4%, 65.4%, 36.5%)
CIE-LABlab(57.90, -0.08, 45.66)
CIE-LCHlch(57.90, 45.66, 90.10°)
OKLaboklab(63.72% -0.0036 0.1041)
OKLCHoklch(63.72% 0.104 92)
XYZxyz(24.5610, 25.8596, 7.4383)
Luminance0.2586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A28938 #3851A2
analogous
#A25438 #A28938 #86A238
triadic
#A28938 #38A289 #8938A2
tetradic
#A28938 #38A254 #3851A2 #A23886
square
#A28938 #38A254 #3851A2 #A23886
split-complementary
#A28938 #3886A2 #5438A2
monochromatic
#473C19 #756328 #A28938 #C4A953 #D3C081

Accessibility & contrast

On white

3.40
#A28938 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#A28938 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A28938
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A28938#FFFFFF#000000##000000
##A289381.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#97872F
Deuteranopia (green-blind)
#9D8E3C
Tritanopia (blue-blind)
#AF7E78
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a28938;
/* rgb */ color: rgb(162, 137, 56);
/* oklch */ color: oklch(63.7% 0.104 92.0);
Tailwind
colors: {
  custom: {
    50: '#c1ab72',
    500: '#a28938',
    950: '#000000',
  },
}
SCSS
$custom: #a28938;
$custom-light: #c1ab72;
$custom-dark: #000000;
JSON
{
  "hex": "#a28938",
  "rgb": {
    "r": 162,
    "g": 137,
    "b": 56
  },
  "hsl": {
    "h": 45.849,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.63715,
    "c": 0.10415,
    "h": 92
  },
  "luminance": 0.25858
}

Semantic roles & 50–950 ramp

primary
#A28938
secondary
#7989BD
accent
#70D850
background
#FCFAF7
surface
#F8F4ED
border
#D1CEC8
text
#131008
muted
#827F7B

Preview Lab

Preview with #A28938

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

Preview Lab → · Contrast checker → · Palette generator →

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