#A38F28#A38F28

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

Color values

HEX#A38F28
RGBrgb(163, 143, 40)
HSLhsl(50, 61%, 40%)
HSVhsv(50, 75%, 64%)
CMYKcmyk(0%, 12.3%, 75.5%, 36.1%)
CIE-LABlab(59.51, -3.80, 54.09)
CIE-LCHlch(59.51, 54.23, 94.02°)
OKLaboklab(64.97% -0.0162 0.119)
OKLCHoklch(64.97% 0.12 97.7)
XYZxyz(25.3110, 27.5860, 5.9985)
Luminance0.2758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38F28 #283CA3
analogous
#A35228 #A38F28 #79A328
triadic
#A38F28 #28A38F #8F28A3
tetradic
#A38F28 #28A352 #283CA3 #A32879
square
#A38F28 #28A352 #283CA3 #A32879
split-complementary
#A38F28 #2879A3 #5228A3
monochromatic
#413910 #72641C #A38F28 #CFB63A #DBC86B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A38F28#FFFFFF#000000##000000
##A38F281.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)
#9E8B15
Deuteranopia (green-blind)
#A3922F
Tritanopia (blue-blind)
#B0847B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a38f28;
/* rgb */ color: rgb(163, 143, 40);
/* oklch */ color: oklch(65.0% 0.120 97.7);
Tailwind
colors: {
  custom: {
    50: '#c2af6a',
    500: '#a38f28',
    950: '#000000',
  },
}
SCSS
$custom: #a38f28;
$custom-light: #c2af6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a38f28",
  "rgb": {
    "r": 163,
    "g": 143,
    "b": 40
  },
  "hsl": {
    "h": 50.244,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64971,
    "c": 0.12012,
    "h": 97.7
  },
  "luminance": 0.27585
}

Semantic roles & 50–950 ramp

primary
#A38F28
secondary
#6675C1
accent
#5EE444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #A38F28

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

Preview Lab → · Contrast checker → · Palette generator →

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