#A38B2F#A38B2F

#A38B2F is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.2% C 0.113 H 94.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A38B2F
RGBrgb(163, 139, 47)
HSLhsl(48, 55%, 41%)
HSVhsv(48, 71%, 64%)
CMYKcmyk(0%, 14.7%, 71.2%, 36.1%)
CIE-LABlab(58.47, -1.27, 50.28)
CIE-LCHlch(58.47, 50.30, 91.44°)
OKLaboklab(64.16% -0.0082 0.1123)
OKLCHoklch(64.16% 0.113 94.2)
XYZxyz(24.8512, 26.4584, 6.4868)
Luminance0.2646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38B2F #2F47A3
analogous
#A3512F #A38B2F #81A32F
triadic
#A38B2F #2FA38B #8B2FA3
tetradic
#A38B2F #2FA351 #2F47A3 #A32F81
square
#A38B2F #2FA351 #2F47A3 #A32F81
split-complementary
#A38B2F #2F81A3 #512FA3
monochromatic
#443A14 #736221 #A38B2F #CAAE46 #D7C375

Accessibility & contrast

On white

3.34
#A38B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#A38B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A38B2F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38B2F#FFFFFF#000000##000000
##A38B2F1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8822
Deuteranopia (green-blind)
#A09034
Tritanopia (blue-blind)
#B08078
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a38b2f;
/* rgb */ color: rgb(163, 139, 47);
/* oklch */ color: oklch(64.2% 0.113 94.2);
Tailwind
colors: {
  custom: {
    50: '#c2ac6d',
    500: '#a38b2f',
    950: '#000000',
  },
}
SCSS
$custom: #a38b2f;
$custom-light: #c2ac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a38b2f",
  "rgb": {
    "r": 163,
    "g": 139,
    "b": 47
  },
  "hsl": {
    "h": 47.586,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64161,
    "c": 0.1126,
    "h": 94.2
  },
  "luminance": 0.26457
}

Semantic roles & 50–950 ramp

primary
#A38B2F
secondary
#6F7FBF
accent
#68DF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A38B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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