#9C842E#9C842E

#9C842E is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.9% C 0.107 H 93.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9C842E
RGBrgb(156, 132, 46)
HSLhsl(47, 54%, 40%)
HSVhsv(47, 71%, 61%)
CMYKcmyk(0%, 15.4%, 70.5%, 38.8%)
CIE-LABlab(55.86, -0.62, 47.83)
CIE-LCHlch(55.86, 47.83, 90.75°)
OKLaboklab(61.93% -0.006 0.1072)
OKLCHoklch(61.93% 0.107 93.2)
XYZxyz(22.4559, 23.7690, 5.9893)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C842E #2E469C
analogous
#9C4D2E #9C842E #7D9C2E
triadic
#9C842E #2E9C84 #842E9C
tetradic
#9C842E #2E9C4D #2E469C #9C2E7D
square
#9C842E #2E9C4D #2E469C #9C2E7D
split-complementary
#9C842E #2E7D9C #4D2E9C
monochromatic
#3D3412 #6D5C20 #9C842E #C7A940 #D5BF70

Accessibility & contrast

On white

3.65
#9C842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#9C842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C842E
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C842E#FFFFFF#000000##000000
##9C842E1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928222
Deuteranopia (green-blind)
#988932
Tritanopia (blue-blind)
#A97972
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9c842e;
/* rgb */ color: rgb(156, 132, 46);
/* oklch */ color: oklch(61.9% 0.107 93.2);
Tailwind
colors: {
  custom: {
    50: '#bda76c',
    500: '#9c842e',
    950: '#000000',
  },
}
SCSS
$custom: #9c842e;
$custom-light: #bda76c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c842e",
  "rgb": {
    "r": 156,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 46.909,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6193,
    "c": 0.10735,
    "h": 93.2
  },
  "luminance": 0.23768
}

Semantic roles & 50–950 ramp

primary
#9C842E
secondary
#6A7CBC
accent
#6ADE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C842E

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

Preview Lab → · Contrast checker → · Palette generator →

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