#A38E2F#A38E2F

#A38E2F is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.8% C 0.115 H 96.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A38E2F
RGBrgb(163, 142, 47)
HSLhsl(49, 55%, 41%)
HSVhsv(49, 71%, 64%)
CMYKcmyk(0%, 12.9%, 71.2%, 36.1%)
CIE-LABlab(59.29, -2.91, 51.11)
CIE-LCHlch(59.29, 51.19, 93.26°)
OKLaboklab(64.81% -0.0129 0.1141)
OKLCHoklch(64.81% 0.115 96.4)
XYZxyz(25.2916, 27.3391, 6.6336)
Luminance0.2734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38E2F #2F44A3
analogous
#A3542F #A38E2F #7EA32F
triadic
#A38E2F #2FA38E #8E2FA3
tetradic
#A38E2F #2FA354 #2F44A3 #A32F7E
square
#A38E2F #2FA354 #2F44A3 #A32F7E
split-complementary
#A38E2F #2F7EA3 #542FA3
monochromatic
#443B14 #736521 #A38E2F #CAB246 #D7C575

Accessibility & contrast

On white

3.25
#A38E2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#A38E2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A38E2F
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38E2F#FFFFFF#000000##000000
##A38E2F1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B21
Deuteranopia (green-blind)
#A29234
Tritanopia (blue-blind)
#B0837B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a38e2f;
/* rgb */ color: rgb(163, 142, 47);
/* oklch */ color: oklch(64.8% 0.115 96.4);
Tailwind
colors: {
  custom: {
    50: '#c2ae6d',
    500: '#a38e2f',
    950: '#000000',
  },
}
SCSS
$custom: #a38e2f;
$custom-light: #c2ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a38e2f",
  "rgb": {
    "r": 163,
    "g": 142,
    "b": 47
  },
  "hsl": {
    "h": 49.138,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64807,
    "c": 0.11477,
    "h": 96.4
  },
  "luminance": 0.27338
}

Semantic roles & 50–950 ramp

primary
#A38E2F
secondary
#6F7DBF
accent
#64DF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #A38E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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