#9C831E#9C831E

#9C831E is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.6% C 0.117 H 94.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9C831E
RGBrgb(156, 131, 30)
HSLhsl(48, 68%, 36%)
HSVhsv(48, 81%, 61%)
CMYKcmyk(0%, 16%, 80.8%, 38.8%)
CIE-LABlab(55.48, -0.81, 53.67)
CIE-LCHlch(55.48, 53.68, 90.86°)
OKLaboklab(61.6% -0.0083 0.1164)
OKLCHoklch(61.6% 0.117 94.1)
XYZxyz(22.0622, 23.3956, 4.5818)
Luminance0.2339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C831E #1E379C
analogous
#9C441E #9C831E #769C1E
triadic
#9C831E #1E9C83 #831E9C
tetradic
#9C831E #1E9C44 #1E379C #9C1E76
square
#9C831E #1E9C44 #1E379C #9C1E76
split-complementary
#9C831E #1E769C #441E9C
monochromatic
#352D0A #695814 #9C831E #CFAE28 #DEC356

Accessibility & contrast

On white

3.70
#9C831E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#9C831E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C831E
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C831E#FFFFFF#000000##000000
##9C831E1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928105
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#A97870
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9c831e;
/* rgb */ color: rgb(156, 131, 30);
/* oklch */ color: oklch(61.6% 0.117 94.1);
Tailwind
colors: {
  custom: {
    50: '#bda663',
    500: '#9c831e',
    950: '#000000',
  },
}
SCSS
$custom: #9c831e;
$custom-light: #bda663;
$custom-dark: #000000;
JSON
{
  "hex": "#9c831e",
  "rgb": {
    "r": 156,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 48.095,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61598,
    "c": 0.11667,
    "h": 94.1
  },
  "luminance": 0.23394
}

Semantic roles & 50–950 ramp

primary
#9C831E
secondary
#546AC2
accent
#60EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C831E

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

Preview Lab → · Contrast checker → · Palette generator →

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