#A39F31#A39F31

#A39F31 is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.6% C 0.128 H 107.3°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#A39F31
RGBrgb(163, 159, 49)
HSLhsl(58, 54%, 42%)
HSVhsv(58, 70%, 64%)
CMYKcmyk(0%, 2.5%, 69.9%, 36.1%)
CIE-LABlab(64.00, -11.92, 55.02)
CIE-LCHlch(64.00, 56.29, 102.22°)
OKLaboklab(68.56% -0.0382 0.1227)
OKLCHoklch(68.56% 0.128 107.3)
XYZxyz(28.0578, 32.8055, 7.7593)
Luminance0.3281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A39F31 #3135A3
analogous
#A36631 #A39F31 #6EA331
triadic
#A39F31 #31A39F #9F31A3
tetradic
#A39F31 #31A366 #3135A3 #A3316E
square
#A39F31 #31A366 #3135A3 #A3316E
split-complementary
#A39F31 #316EA3 #6631A3
monochromatic
#454315 #747123 #A39F31 #C8C449 #D6D378

Accessibility & contrast

On white

2.78
#A39F31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#A39F31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A39F31
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A39F31#FFFFFF#000000##000000
##A39F311.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9920
Deuteranopia (green-blind)
#AE9D39
Tritanopia (blue-blind)
#AF9589
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a39f31;
/* rgb */ color: rgb(163, 159, 49);
/* oklch */ color: oklch(68.6% 0.128 107.3);
Tailwind
colors: {
  custom: {
    50: '#c1bb70',
    500: '#a39f31',
    950: '#000000',
  },
}
SCSS
$custom: #a39f31;
$custom-light: #c1bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a39f31",
  "rgb": {
    "r": 163,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 57.895,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68559,
    "c": 0.12847,
    "h": 107.3
  },
  "luminance": 0.32805
}

Semantic roles & 50–950 ramp

primary
#A39F31
secondary
#7174BF
accent
#50DD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A39F31

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

Preview Lab → · Contrast checker → · Palette generator →

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