#A58C1F#A58C1F

#A58C1F is a light, vivid yellow. Relative luminance 0.269; OKLCH L 64.5% C 0.123 H 95.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A58C1F
RGBrgb(165, 140, 31)
HSLhsl(49, 68%, 38%)
HSVhsv(49, 81%, 65%)
CMYKcmyk(0%, 15.2%, 81.2%, 35.3%)
CIE-LABlab(58.84, -1.62, 56.68)
CIE-LCHlch(58.84, 56.70, 91.63°)
OKLaboklab(64.47% -0.011 0.1226)
OKLCHoklch(64.47% 0.123 95.1)
XYZxyz(25.1439, 26.8559, 5.1554)
Luminance0.2685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A58C1F #1F38A5
analogous
#A5491F #A58C1F #7BA51F
triadic
#A58C1F #1FA58C #8C1FA5
tetradic
#A58C1F #1FA549 #1F38A5 #A51F7B
square
#A58C1F #1FA549 #1F38A5 #A51F7B
split-complementary
#A58C1F #1F7BA5 #491FA5
monochromatic
#3E350C #716015 #A58C1F #D7B72A #E1C85E

Accessibility & contrast

On white

3.30
#A58C1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#A58C1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A58C1F
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A58C1F#FFFFFF#000000##000000
##A58C1F1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8901
Deuteranopia (green-blind)
#A29127
Tritanopia (blue-blind)
#B38078
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a58c1f;
/* rgb */ color: rgb(165, 140, 31);
/* oklch */ color: oklch(64.5% 0.123 95.1);
Tailwind
colors: {
  custom: {
    50: '#c4ad65',
    500: '#a58c1f',
    950: '#000000',
  },
}
SCSS
$custom: #a58c1f;
$custom-light: #c4ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#a58c1f",
  "rgb": {
    "r": 165,
    "g": 140,
    "b": 31
  },
  "hsl": {
    "h": 48.806,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64469,
    "c": 0.12309,
    "h": 95.1
  },
  "luminance": 0.26854
}

Semantic roles & 50–950 ramp

primary
#A58C1F
secondary
#5B6FC5
accent
#5DEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #A58C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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