#9C811E#9C811E

#9C811E is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.2% C 0.115 H 92.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9C811E
RGBrgb(156, 129, 30)
HSLhsl(47, 68%, 36%)
HSVhsv(47, 81%, 61%)
CMYKcmyk(0%, 17.3%, 80.8%, 38.8%)
CIE-LABlab(54.93, 0.31, 53.18)
CIE-LCHlch(54.93, 53.18, 89.67°)
OKLaboklab(61.17% -0.0051 0.1153)
OKLCHoklch(61.17% 0.115 92.6)
XYZxyz(21.7962, 22.8635, 4.4931)
Luminance0.2286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C811E #1E399C
analogous
#9C421E #9C811E #789C1E
triadic
#9C811E #1E9C81 #811E9C
tetradic
#9C811E #1E9C42 #1E399C #9C1E78
square
#9C811E #1E9C42 #1E399C #9C1E78
split-complementary
#9C811E #1E789C #421E9C
monochromatic
#352C0A #695714 #9C811E #CFAB28 #DEC156

Accessibility & contrast

On white

3.77
#9C811E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#9C811E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C811E
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C811E#FFFFFF#000000##000000
##9C811E1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F06
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#A9766E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9c811e;
/* rgb */ color: rgb(156, 129, 30);
/* oklch */ color: oklch(61.2% 0.115 92.6);
Tailwind
colors: {
  custom: {
    50: '#bda563',
    500: '#9c811e',
    950: '#000000',
  },
}
SCSS
$custom: #9c811e;
$custom-light: #bda563;
$custom-dark: #000000;
JSON
{
  "hex": "#9c811e",
  "rgb": {
    "r": 156,
    "g": 129,
    "b": 30
  },
  "hsl": {
    "h": 47.143,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61166,
    "c": 0.11542,
    "h": 92.6
  },
  "luminance": 0.22862
}

Semantic roles & 50–950 ramp

primary
#9C811E
secondary
#546BC2
accent
#62EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C811E

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

Preview Lab → · Contrast checker → · Palette generator →

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