#A38D27#A38D27

#A38D27 is a light, moderate yellow. Relative luminance 0.270; OKLCH L 64.5% C 0.119 H 96.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A38D27
RGBrgb(163, 141, 39)
HSLhsl(49, 61%, 40%)
HSVhsv(49, 76%, 64%)
CMYKcmyk(0%, 13.5%, 76.1%, 36.1%)
CIE-LABlab(58.96, -2.76, 53.94)
CIE-LCHlch(58.96, 54.01, 92.93°)
OKLaboklab(64.53% -0.0133 0.1185)
OKLCHoklch(64.53% 0.119 96.4)
XYZxyz(24.9966, 26.9841, 5.8109)
Luminance0.2698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38D27 #273DA3
analogous
#A34F27 #A38D27 #7BA327
triadic
#A38D27 #27A38D #8D27A3
tetradic
#A38D27 #27A34F #273DA3 #A3277B
square
#A38D27 #27A34F #273DA3 #A3277B
split-complementary
#A38D27 #277BA3 #4F27A3
monochromatic
#40380F #72621B #A38D27 #CFB438 #DBC769

Accessibility & contrast

On white

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

On black

6.40
#A38D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A38D27
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38D27#FFFFFF#000000##000000
##A38D271.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A14
Deuteranopia (green-blind)
#A2912D
Tritanopia (blue-blind)
#B08279
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a38d27;
/* rgb */ color: rgb(163, 141, 39);
/* oklch */ color: oklch(64.5% 0.119 96.4);
Tailwind
colors: {
  custom: {
    50: '#c2ae69',
    500: '#a38d27',
    950: '#000000',
  },
}
SCSS
$custom: #a38d27;
$custom-light: #c2ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#a38d27",
  "rgb": {
    "r": 163,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 49.355,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64531,
    "c": 0.11925,
    "h": 96.4
  },
  "luminance": 0.26983
}

Semantic roles & 50–950 ramp

primary
#A38D27
secondary
#6475C1
accent
#60E443
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A38D27

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

Preview Lab → · Contrast checker → · Palette generator →

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