#9A831D#9A831D

#9A831D is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.4% C 0.117 H 95.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9A831D
RGBrgb(154, 131, 29)
HSLhsl(49, 68%, 36%)
HSVhsv(49, 81%, 60%)
CMYKcmyk(0%, 14.9%, 81.2%, 39.6%)
CIE-LABlab(55.27, -1.77, 53.74)
CIE-LCHlch(55.27, 53.77, 91.88°)
OKLaboklab(61.39% -0.011 0.1164)
OKLCHoklch(61.39% 0.117 95.4)
XYZxyz(21.6657, 23.1926, 4.4976)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A831D #1D349A
analogous
#9A441D #9A831D #729A1D
triadic
#9A831D #1D9A83 #831D9A
tetradic
#9A831D #1D9A44 #1D349A #9A1D72
square
#9A831D #1D9A44 #1D349A #9A1D72
split-complementary
#9A831D #1D729A #441D9A
monochromatic
#332B0A #665713 #9A831D #CEAF27 #DFC553

Accessibility & contrast

On white

3.72
#9A831D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#9A831D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A831D
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A831D#FFFFFF#000000##000000
##9A831D1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928002
Deuteranopia (green-blind)
#978724
Tritanopia (blue-blind)
#A77870
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9a831d;
/* rgb */ color: rgb(154, 131, 29);
/* oklch */ color: oklch(61.4% 0.117 95.4);
Tailwind
colors: {
  custom: {
    50: '#bca663',
    500: '#9a831d',
    950: '#000000',
  },
}
SCSS
$custom: #9a831d;
$custom-light: #bca663;
$custom-dark: #000000;
JSON
{
  "hex": "#9a831d",
  "rgb": {
    "r": 154,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 48.96,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61385,
    "c": 0.11693,
    "h": 95.4
  },
  "luminance": 0.23191
}

Semantic roles & 50–950 ramp

primary
#9A831D
secondary
#5166C2
accent
#5DEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9A831D

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

Preview Lab → · Contrast checker → · Palette generator →

#9A831D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva