#9A831E#9A831E

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

Color values

HEX#9A831E
RGBrgb(154, 131, 30)
HSLhsl(49, 67%, 36%)
HSVhsv(49, 81%, 60%)
CMYKcmyk(0%, 14.9%, 80.5%, 39.6%)
CIE-LABlab(55.28, -1.73, 53.41)
CIE-LCHlch(55.28, 53.44, 91.85°)
OKLaboklab(61.39% -0.0108 0.1159)
OKLCHoklch(61.39% 0.116 95.3)
XYZxyz(21.6783, 23.1976, 4.5638)
Luminance0.2320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A831E #1E359A
analogous
#9A451E #9A831E #739A1E
triadic
#9A831E #1E9A83 #831E9A
tetradic
#9A831E #1E9A45 #1E359A #9A1E73
square
#9A831E #1E9A45 #1E359A #9A1E73
split-complementary
#9A831E #1E739A #451E9A
monochromatic
#342C0A #675714 #9A831E #CDAF28 #DEC455

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A831E#FFFFFF#000000##000000
##9A831E1.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)
#928005
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#A77870
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9a831e;
/* rgb */ color: rgb(154, 131, 30);
/* oklch */ color: oklch(61.4% 0.116 95.3);
Tailwind
colors: {
  custom: {
    50: '#bca663',
    500: '#9a831e',
    950: '#000000',
  },
}
SCSS
$custom: #9a831e;
$custom-light: #bca663;
$custom-dark: #000000;
JSON
{
  "hex": "#9a831e",
  "rgb": {
    "r": 154,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 48.871,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61391,
    "c": 0.11642,
    "h": 95.3
  },
  "luminance": 0.23196
}

Semantic roles & 50–950 ramp

primary
#9A831E
secondary
#5367C1
accent
#5EEA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #9A831E

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

Preview Lab → · Contrast checker → · Palette generator →

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