#A5991F#A5991F

#A5991F is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.3% C 0.133 H 103.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#A5991F
RGBrgb(165, 153, 31)
HSLhsl(55, 68%, 38%)
HSVhsv(55, 81%, 65%)
CMYKcmyk(0%, 7.3%, 81.2%, 35.3%)
CIE-LABlab(62.41, -8.65, 59.82)
CIE-LCHlch(62.41, 60.44, 98.22°)
OKLaboklab(67.3% -0.0308 0.1294)
OKLCHoklch(67.3% 0.133 103.4)
XYZxyz(27.1569, 30.8819, 5.8264)
Luminance0.3088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5991F #1F2BA5
analogous
#A5561F #A5991F #6EA51F
triadic
#A5991F #1FA599 #991FA5
tetradic
#A5991F #1FA556 #1F2BA5 #A51F6E
square
#A5991F #1FA556 #1F2BA5 #A51F6E
split-complementary
#A5991F #1F6EA5 #561FA5
monochromatic
#3E390C #716915 #A5991F #D7C82A #E1D55E

Accessibility & contrast

On white

2.93
#A5991F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#A5991F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5991F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5991F#FFFFFF#000000##000000
##A5991F1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#AB9929
Tritanopia (blue-blind)
#B28E83
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a5991f;
/* rgb */ color: rgb(165, 153, 31);
/* oklch */ color: oklch(67.3% 0.133 103.4);
Tailwind
colors: {
  custom: {
    50: '#c4b667',
    500: '#a5991f',
    950: '#000000',
  },
}
SCSS
$custom: #a5991f;
$custom-light: #c4b667;
$custom-dark: #000000;
JSON
{
  "hex": "#a5991f",
  "rgb": {
    "r": 165,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 54.627,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.67298,
    "c": 0.13299,
    "h": 103.4
  },
  "luminance": 0.30881
}

Semantic roles & 50–950 ramp

primary
#A5991F
secondary
#5B64C5
accent
#4CEB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #A5991F

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

Preview Lab → · Contrast checker → · Palette generator →

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