#A5951F#A5951F

#A5951F is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.4% C 0.130 H 101.0°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A5951F
RGBrgb(165, 149, 31)
HSLhsl(53, 68%, 38%)
HSVhsv(53, 81%, 65%)
CMYKcmyk(0%, 9.7%, 81.2%, 35.3%)
CIE-LABlab(61.30, -6.50, 58.85)
CIE-LCHlch(61.30, 59.21, 96.31°)
OKLaboklab(66.42% -0.0248 0.1273)
OKLCHoklch(66.42% 0.13 101)
XYZxyz(26.5131, 29.5944, 5.6118)
Luminance0.2959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5951F #1F2FA5
analogous
#A5521F #A5951F #72A51F
triadic
#A5951F #1FA595 #951FA5
tetradic
#A5951F #1FA552 #1F2FA5 #A51F72
square
#A5951F #1FA552 #1F2FA5 #A51F72
split-complementary
#A5951F #1F72A5 #521FA5
monochromatic
#3E380C #716615 #A5951F #D7C22A #E1D15E

Accessibility & contrast

On white

3.04
#A5951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#A5951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A5951F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5951F#FFFFFF#000000##000000
##A5951F1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A89729
Tritanopia (blue-blind)
#B28A7F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a5951f;
/* rgb */ color: rgb(165, 149, 31);
/* oklch */ color: oklch(66.4% 0.130 101.0);
Tailwind
colors: {
  custom: {
    50: '#c4b366',
    500: '#a5951f',
    950: '#000000',
  },
}
SCSS
$custom: #a5951f;
$custom-light: #c4b366;
$custom-dark: #000000;
JSON
{
  "hex": "#a5951f",
  "rgb": {
    "r": 165,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 52.836,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6642,
    "c": 0.12968,
    "h": 101
  },
  "luminance": 0.29593
}

Semantic roles & 50–950 ramp

primary
#A5951F
secondary
#5B67C5
accent
#51EB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #A5951F

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

Preview Lab → · Contrast checker → · Palette generator →

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