#A38F2F#A38F2F

#A38F2F is a light, moderate yellow. Relative luminance 0.276; OKLCH L 65.0% C 0.116 H 97.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A38F2F
RGBrgb(163, 143, 47)
HSLhsl(50, 55%, 41%)
HSVhsv(50, 71%, 64%)
CMYKcmyk(0%, 12.3%, 71.2%, 36.1%)
CIE-LABlab(59.56, -3.46, 51.38)
CIE-LCHlch(59.56, 51.50, 93.85°)
OKLaboklab(65.02% -0.0144 0.1146)
OKLCHoklch(65.02% 0.116 97.2)
XYZxyz(25.4410, 27.6380, 6.6834)
Luminance0.2764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38F2F #2F43A3
analogous
#A3552F #A38F2F #7DA32F
triadic
#A38F2F #2FA38F #8F2FA3
tetradic
#A38F2F #2FA355 #2F43A3 #A32F7D
square
#A38F2F #2FA355 #2F43A3 #A32F7D
split-complementary
#A38F2F #2F7DA3 #552FA3
monochromatic
#443C14 #736521 #A38F2F #CAB346 #D7C675

Accessibility & contrast

On white

3.22
#A38F2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#A38F2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A38F2F
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38F2F#FFFFFF#000000##000000
##A38F2F1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C21
Deuteranopia (green-blind)
#A39235
Tritanopia (blue-blind)
#B0847C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a38f2f;
/* rgb */ color: rgb(163, 143, 47);
/* oklch */ color: oklch(65.0% 0.116 97.2);
Tailwind
colors: {
  custom: {
    50: '#c2af6d',
    500: '#a38f2f',
    950: '#000000',
  },
}
SCSS
$custom: #a38f2f;
$custom-light: #c2af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a38f2f",
  "rgb": {
    "r": 163,
    "g": 143,
    "b": 47
  },
  "hsl": {
    "h": 49.655,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65023,
    "c": 0.11553,
    "h": 97.2
  },
  "luminance": 0.27637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A38F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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