#9C811F#9C811F

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

Color values

HEX#9C811F
RGBrgb(156, 129, 31)
HSLhsl(47, 67%, 37%)
HSVhsv(47, 80%, 61%)
CMYKcmyk(0%, 17.3%, 80.1%, 38.8%)
CIE-LABlab(54.94, 0.34, 52.84)
CIE-LCHlch(54.94, 52.84, 89.63°)
OKLaboklab(61.17% -0.005 0.1148)
OKLCHoklch(61.17% 0.115 92.5)
XYZxyz(21.8091, 22.8687, 4.5614)
Luminance0.2287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C811F #1F3A9C
analogous
#9C431F #9C811F #799C1F
triadic
#9C811F #1F9C81 #811F9C
tetradic
#9C811F #1F9C43 #1F3A9C #9C1F79
square
#9C811F #1F9C43 #1F3A9C #9C1F79
split-complementary
#9C811F #1F799C #431F9C
monochromatic
#362D0B #695715 #9C811F #CFAB29 #DEC158

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C811F#FFFFFF#000000##000000
##9C811F1.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)
#907F08
Deuteranopia (green-blind)
#978725
Tritanopia (blue-blind)
#A9766F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #9c811f;
/* rgb */ color: rgb(156, 129, 31);
/* oklch */ color: oklch(61.2% 0.115 92.5);
Tailwind
colors: {
  custom: {
    50: '#bda564',
    500: '#9c811f',
    950: '#000000',
  },
}
SCSS
$custom: #9c811f;
$custom-light: #bda564;
$custom-dark: #000000;
JSON
{
  "hex": "#9c811f",
  "rgb": {
    "r": 156,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 47.04,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61172,
    "c": 0.11491,
    "h": 92.5
  },
  "luminance": 0.22867
}

Semantic roles & 50–950 ramp

primary
#9C811F
secondary
#556DC1
accent
#63EA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9C811F

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

Preview Lab → · Contrast checker → · Palette generator →

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