#9C841E#9C841E

#9C841E is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.8% C 0.117 H 94.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9C841E
RGBrgb(156, 132, 30)
HSLhsl(49, 68%, 36%)
HSVhsv(49, 81%, 61%)
CMYKcmyk(0%, 15.4%, 80.8%, 38.8%)
CIE-LABlab(55.75, -1.36, 53.92)
CIE-LCHlch(55.75, 53.93, 91.45°)
OKLaboklab(61.81% -0.0099 0.1169)
OKLCHoklch(61.81% 0.117 94.8)
XYZxyz(22.1972, 23.6655, 4.6268)
Luminance0.2366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C841E #1E369C
analogous
#9C451E #9C841E #759C1E
triadic
#9C841E #1E9C84 #841E9C
tetradic
#9C841E #1E9C45 #1E369C #9C1E75
square
#9C841E #1E9C45 #1E369C #9C1E75
split-complementary
#9C841E #1E759C #451E9C
monochromatic
#352D0A #695914 #9C841E #CFAF28 #DEC456

Accessibility & contrast

On white

3.66
#9C841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#9C841E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C841E
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C841E#FFFFFF#000000##000000
##9C841E1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#998925
Tritanopia (blue-blind)
#A97971
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9c841e;
/* rgb */ color: rgb(156, 132, 30);
/* oklch */ color: oklch(61.8% 0.117 94.8);
Tailwind
colors: {
  custom: {
    50: '#bda763',
    500: '#9c841e',
    950: '#000000',
  },
}
SCSS
$custom: #9c841e;
$custom-light: #bda763;
$custom-dark: #000000;
JSON
{
  "hex": "#9c841e",
  "rgb": {
    "r": 156,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 48.571,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61814,
    "c": 0.11732,
    "h": 94.8
  },
  "luminance": 0.23664
}

Semantic roles & 50–950 ramp

primary
#9C841E
secondary
#5469C2
accent
#5EEB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C841E

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

Preview Lab → · Contrast checker → · Palette generator →

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