#A38F40#A38F40

#A38F40 is a light, moderate yellow. Relative luminance 0.278; OKLCH L 65.2% C 0.102 H 95.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A38F40
RGBrgb(163, 143, 64)
HSLhsl(48, 44%, 45%)
HSVhsv(48, 61%, 64%)
CMYKcmyk(0%, 12.3%, 60.7%, 36.1%)
CIE-LABlab(59.71, -2.37, 43.89)
CIE-LCHlch(59.71, 43.95, 93.10°)
OKLaboklab(65.19% -0.0092 0.1014)
OKLCHoklch(65.19% 0.102 95.2)
XYZxyz(25.8532, 27.8028, 8.8542)
Luminance0.2780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38F40 #4054A3
analogous
#A35E40 #A38F40 #86A340
triadic
#A38F40 #40A38F #8F40A3
tetradic
#A38F40 #40A35E #4054A3 #A34086
square
#A38F40 #40A35E #4054A3 #A34086
split-complementary
#A38F40 #4086A3 #5E40A3
monochromatic
#4B421D #77682F #A38F40 #C0AD60 #D2C48C

Accessibility & contrast

On white

3.20
#A38F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#A38F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A38F40
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38F40#FFFFFF#000000##000000
##A38F401.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C38
Deuteranopia (green-blind)
#A29344
Tritanopia (blue-blind)
#AF857E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a38f40;
/* rgb */ color: rgb(163, 143, 64);
/* oklch */ color: oklch(65.2% 0.102 95.2);
Tailwind
colors: {
  custom: {
    50: '#c1af78',
    500: '#a38f40',
    950: '#000000',
  },
}
SCSS
$custom: #a38f40;
$custom-light: #c1af78;
$custom-dark: #000000;
JSON
{
  "hex": "#a38f40",
  "rgb": {
    "r": 163,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 47.879,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6519,
    "c": 0.10185,
    "h": 95.2
  },
  "luminance": 0.27802
}

Semantic roles & 50–950 ramp

primary
#A38F40
secondary
#828EBD
accent
#6ED354
background
#FCFAF7
surface
#F8F4ED
border
#D1CEC8
text
#131009
muted
#827F7B

Preview Lab

Preview with #A38F40

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

Preview Lab → · Contrast checker → · Palette generator →

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