#A38F27#A38F27

#A38F27 is a light, vivid yellow. Relative luminance 0.276; OKLCH L 65.0% C 0.121 H 97.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A38F27
RGBrgb(163, 143, 39)
HSLhsl(50, 61%, 40%)
HSVhsv(50, 76%, 64%)
CMYKcmyk(0%, 12.3%, 76.1%, 36.1%)
CIE-LABlab(59.51, -3.85, 54.46)
CIE-LCHlch(59.51, 54.59, 94.04°)
OKLaboklab(64.96% -0.0164 0.1196)
OKLCHoklch(64.96% 0.121 97.8)
XYZxyz(25.2942, 27.5792, 5.9101)
Luminance0.2758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38F27 #273BA3
analogous
#A35127 #A38F27 #79A327
triadic
#A38F27 #27A38F #8F27A3
tetradic
#A38F27 #27A351 #273BA3 #A32779
square
#A38F27 #27A351 #273BA3 #A32779
split-complementary
#A38F27 #2779A3 #5127A3
monochromatic
#40380F #72641B #A38F27 #CFB738 #DBC969

Accessibility & contrast

On white

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

On black

6.52
#A38F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A38F27
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38F27#FFFFFF#000000##000000
##A38F271.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B13
Deuteranopia (green-blind)
#A3922E
Tritanopia (blue-blind)
#B0847B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a38f27;
/* rgb */ color: rgb(163, 143, 39);
/* oklch */ color: oklch(65.0% 0.121 97.8);
Tailwind
colors: {
  custom: {
    50: '#c2af69',
    500: '#a38f27',
    950: '#000000',
  },
}
SCSS
$custom: #a38f27;
$custom-light: #c2af69;
$custom-dark: #000000;
JSON
{
  "hex": "#a38f27",
  "rgb": {
    "r": 163,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 50.323,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64964,
    "c": 0.12072,
    "h": 97.8
  },
  "luminance": 0.27578
}

Semantic roles & 50–950 ramp

primary
#A38F27
secondary
#6473C1
accent
#5DE443
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A38F27

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

Preview Lab → · Contrast checker → · Palette generator →

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