#A39828#A39828

#A39828 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.9% C 0.128 H 103.6°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A39828
RGBrgb(163, 152, 40)
HSLhsl(55, 61%, 40%)
HSVhsv(55, 75%, 64%)
CMYKcmyk(0%, 6.7%, 75.5%, 36.1%)
CIE-LABlab(62.00, -8.66, 56.44)
CIE-LCHlch(62.00, 57.10, 98.72°)
OKLaboklab(66.94% -0.0299 0.124)
OKLCHoklch(66.94% 0.128 103.6)
XYZxyz(26.7167, 30.3973, 6.4671)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A39828 #2833A3
analogous
#A35A28 #A39828 #71A328
triadic
#A39828 #28A398 #9828A3
tetradic
#A39828 #28A35A #2833A3 #A32871
square
#A39828 #28A35A #2833A3 #A32871
split-complementary
#A39828 #2871A3 #5A28A3
monochromatic
#413C10 #726A1C #A39828 #CFC13A #DBD16B

Accessibility & contrast

On white

2.97
#A39828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#A39828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A39828
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A39828#FFFFFF#000000##000000
##A398281.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69311
Deuteranopia (green-blind)
#AA9830
Tritanopia (blue-blind)
#B08D83
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a39828;
/* rgb */ color: rgb(163, 152, 40);
/* oklch */ color: oklch(66.9% 0.128 103.6);
Tailwind
colors: {
  custom: {
    50: '#c2b66b',
    500: '#a39828',
    950: '#000000',
  },
}
SCSS
$custom: #a39828;
$custom-light: #c2b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#a39828",
  "rgb": {
    "r": 163,
    "g": 152,
    "b": 40
  },
  "hsl": {
    "h": 54.634,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66942,
    "c": 0.12756,
    "h": 103.6
  },
  "luminance": 0.30396
}

Semantic roles & 50–950 ramp

primary
#A39828
secondary
#666EC1
accent
#52E444
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A39828

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

Preview Lab → · Contrast checker → · Palette generator →

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