#A39840#A39840

#A39840 is a light, moderate yellow. Relative luminance 0.306; OKLCH L 67.1% C 0.110 H 102.2°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A39840
RGBrgb(163, 152, 64)
HSLhsl(53, 44%, 45%)
HSVhsv(53, 61%, 64%)
CMYKcmyk(0%, 6.7%, 60.7%, 36.1%)
CIE-LABlab(62.18, -7.25, 46.64)
CIE-LCHlch(62.18, 47.20, 98.84°)
OKLaboklab(67.15% -0.0232 0.1073)
OKLCHoklch(67.15% 0.11 102.2)
XYZxyz(27.2589, 30.6142, 9.3228)
Luminance0.3061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A39840 #404BA3
analogous
#A36640 #A39840 #7DA340
triadic
#A39840 #40A398 #9840A3
tetradic
#A39840 #40A366 #404BA3 #A3407D
square
#A39840 #40A366 #404BA3 #A3407D
split-complementary
#A39840 #407DA3 #6640A3
monochromatic
#4B461D #776F2F #A39840 #C0B660 #D2CA8C

Accessibility & contrast

On white

2.95
#A39840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#A39840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A39840
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A39840#FFFFFF#000000##000000
##A398401.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59336
Deuteranopia (green-blind)
#A89845
Tritanopia (blue-blind)
#AF8E85
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a39840;
/* rgb */ color: rgb(163, 152, 64);
/* oklch */ color: oklch(67.1% 0.110 102.2);
Tailwind
colors: {
  custom: {
    50: '#c1b678',
    500: '#a39840',
    950: '#000000',
  },
}
SCSS
$custom: #a39840;
$custom-light: #c1b678;
$custom-dark: #000000;
JSON
{
  "hex": "#a39840",
  "rgb": {
    "r": 163,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 53.333,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67148,
    "c": 0.10981,
    "h": 102.2
  },
  "luminance": 0.30613
}

Semantic roles & 50–950 ramp

primary
#A39840
secondary
#8289BD
accent
#63D354
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #A39840

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

Preview Lab → · Contrast checker → · Palette generator →

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