#9B7C1C#9B7C1C

#9B7C1C is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 60.0% C 0.113 H 89.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9B7C1C
RGBrgb(155, 124, 28)
HSLhsl(45, 69%, 36%)
HSVhsv(45, 82%, 61%)
CMYKcmyk(0%, 20%, 81.9%, 39.2%)
CIE-LABlab(53.46, 2.57, 52.51)
CIE-LCHlch(53.46, 52.57, 87.20°)
OKLaboklab(59.98% 0.0012 0.1135)
OKLCHoklch(59.98% 0.113 89.4)
XYZxyz(20.9361, 21.4691, 4.1396)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7C1C #1C3B9B
analogous
#9B3C1C #9B7C1C #7A9B1C
triadic
#9B7C1C #1C9B7C #7C1C9B
tetradic
#9B7C1C #1C9B3C #1C3B9B #9B1C7A
square
#9B7C1C #1C9B3C #1C3B9B #9B1C7A
split-complementary
#9B7C1C #1C7A9B #3C1C9B
monochromatic
#332909 #675313 #9B7C1C #CFA525 #E0BD52

Accessibility & contrast

On white

3.97
#9B7C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#9B7C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7C1C
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7C1C#FFFFFF#000000##000000
##9B7C1C1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B04
Deuteranopia (green-blind)
#938322
Tritanopia (blue-blind)
#A8716A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9b7c1c;
/* rgb */ color: rgb(155, 124, 28);
/* oklch */ color: oklch(60.0% 0.113 89.4);
Tailwind
colors: {
  custom: {
    50: '#bda161',
    500: '#9b7c1c',
    950: '#000000',
  },
}
SCSS
$custom: #9b7c1c;
$custom-light: #bda161;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7c1c",
  "rgb": {
    "r": 155,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 45.354,
    "s": 69.399,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59978,
    "c": 0.11348,
    "h": 89.4
  },
  "luminance": 0.21468
}

Semantic roles & 50–950 ramp

primary
#9B7C1C
secondary
#506CC3
accent
#67EC3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9B7C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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