#9C7E1E#9C7E1E

#9C7E1E is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.5% C 0.114 H 90.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9C7E1E
RGBrgb(156, 126, 30)
HSLhsl(46, 68%, 36%)
HSVhsv(46, 81%, 61%)
CMYKcmyk(0%, 19.2%, 80.8%, 38.8%)
CIE-LABlab(54.12, 1.98, 52.45)
CIE-LCHlch(54.12, 52.49, 87.84°)
OKLaboklab(60.52% -0.0004 0.1137)
OKLCHoklch(60.52% 0.114 90.2)
XYZxyz(21.4068, 22.0848, 4.3633)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C7E1E #1E3C9C
analogous
#9C3F1E #9C7E1E #7B9C1E
triadic
#9C7E1E #1E9C7E #7E1E9C
tetradic
#9C7E1E #1E9C3F #1E3C9C #9C1E7B
square
#9C7E1E #1E9C3F #1E3C9C #9C1E7B
split-complementary
#9C7E1E #1E7B9C #3F1E9C
monochromatic
#352B0A #695514 #9C7E1E #CFA728 #DEBE56

Accessibility & contrast

On white

3.88
#9C7E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#9C7E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C7E1E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C7E1E#FFFFFF#000000##000000
##9C7E1E1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D08
Deuteranopia (green-blind)
#958524
Tritanopia (blue-blind)
#A9736C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9c7e1e;
/* rgb */ color: rgb(156, 126, 30);
/* oklch */ color: oklch(60.5% 0.114 90.2);
Tailwind
colors: {
  custom: {
    50: '#bda363',
    500: '#9c7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #9c7e1e;
$custom-light: #bda363;
$custom-dark: #000000;
JSON
{
  "hex": "#9c7e1e",
  "rgb": {
    "r": 156,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 45.714,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60524,
    "c": 0.11374,
    "h": 90.2
  },
  "luminance": 0.22083
}

Semantic roles & 50–950 ramp

primary
#9C7E1E
secondary
#546EC2
accent
#66EB3D
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F06
muted
#827E7A

Preview Lab

Preview with #9C7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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