#9C812E#9C812E

#9C812E is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.3% C 0.105 H 90.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9C812E
RGBrgb(156, 129, 46)
HSLhsl(45, 54%, 40%)
HSVhsv(45, 71%, 61%)
CMYKcmyk(0%, 17.3%, 70.5%, 38.8%)
CIE-LABlab(55.04, 1.05, 46.99)
CIE-LCHlch(55.04, 47.00, 88.72°)
OKLaboklab(61.29% -0.0012 0.1054)
OKLCHoklch(61.29% 0.105 90.7)
XYZxyz(22.0549, 22.9670, 5.8557)
Luminance0.2297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C812E #2E499C
analogous
#9C4A2E #9C812E #809C2E
triadic
#9C812E #2E9C81 #812E9C
tetradic
#9C812E #2E9C4A #2E499C #9C2E80
square
#9C812E #2E9C4A #2E499C #9C2E80
split-complementary
#9C812E #2E809C #4A2E9C
monochromatic
#3D3312 #6D5A20 #9C812E #C7A640 #D5BC70

Accessibility & contrast

On white

3.75
#9C812E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#9C812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C812E
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C812E#FFFFFF#000000##000000
##9C812E1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#968732
Tritanopia (blue-blind)
#A97670
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9c812e;
/* rgb */ color: rgb(156, 129, 46);
/* oklch */ color: oklch(61.3% 0.105 90.7);
Tailwind
colors: {
  custom: {
    50: '#bda56b',
    500: '#9c812e',
    950: '#000000',
  },
}
SCSS
$custom: #9c812e;
$custom-light: #bda56b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c812e",
  "rgb": {
    "r": 156,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 45.273,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61285,
    "c": 0.10541,
    "h": 90.7
  },
  "luminance": 0.22966
}

Semantic roles & 50–950 ramp

primary
#9C812E
secondary
#6A7EBC
accent
#6EDE4A
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9C812E

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

Preview Lab → · Contrast checker → · Palette generator →

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