#A38D31#A38D31

#A38D31 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.6% C 0.113 H 95.5°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A38D31
RGBrgb(163, 141, 49)
HSLhsl(48, 54%, 42%)
HSVhsv(48, 70%, 64%)
CMYKcmyk(0%, 13.5%, 69.9%, 36.1%)
CIE-LABlab(59.03, -2.26, 50.00)
CIE-LCHlch(59.03, 50.06, 92.58°)
OKLaboklab(64.61% -0.0108 0.1121)
OKLCHoklch(64.61% 0.113 95.5)
XYZxyz(25.1847, 27.0594, 6.8016)
Luminance0.2706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38D31 #3147A3
analogous
#A35431 #A38D31 #80A331
triadic
#A38D31 #31A38D #8D31A3
tetradic
#A38D31 #31A354 #3147A3 #A33180
square
#A38D31 #31A354 #3147A3 #A33180
split-complementary
#A38D31 #3180A3 #5431A3
monochromatic
#453C15 #746423 #A38D31 #C8B049 #D6C478

Accessibility & contrast

On white

3.28
#A38D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#A38D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A38D31
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38D31#FFFFFF#000000##000000
##A38D311.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A25
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#B0827A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a38d31;
/* rgb */ color: rgb(163, 141, 49);
/* oklch */ color: oklch(64.6% 0.113 95.5);
Tailwind
colors: {
  custom: {
    50: '#c2ae6e',
    500: '#a38d31',
    950: '#000000',
  },
}
SCSS
$custom: #a38d31;
$custom-light: #c2ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a38d31",
  "rgb": {
    "r": 163,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 48.421,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.64608,
    "c": 0.1126,
    "h": 95.5
  },
  "luminance": 0.27058
}

Semantic roles & 50–950 ramp

primary
#A38D31
secondary
#7180BF
accent
#67DD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A38D31

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

Preview Lab → · Contrast checker → · Palette generator →

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