#9B7C1D#9B7C1D

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

Color values

HEX#9B7C1D
RGBrgb(155, 124, 29)
HSLhsl(45, 68%, 36%)
HSVhsv(45, 81%, 61%)
CMYKcmyk(0%, 20%, 81.3%, 39.2%)
CIE-LABlab(53.46, 2.61, 52.17)
CIE-LCHlch(53.46, 52.24, 87.14°)
OKLaboklab(59.98% 0.0014 0.113)
OKLCHoklch(59.98% 0.113 89.3)
XYZxyz(20.9483, 21.4740, 4.2037)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7C1D #1D3C9B
analogous
#9B3D1D #9B7C1D #7B9B1D
triadic
#9B7C1D #1D9B7C #7C1D9B
tetradic
#9B7C1D #1D9B3D #1D3C9B #9B1D7B
square
#9B7C1D #1D9B3D #1D3C9B #9B1D7B
split-complementary
#9B7C1D #1D7B9B #3D1D9B
monochromatic
#342A0A #675313 #9B7C1D #CFA527 #DFBD53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B7C1D#FFFFFF#000000##000000
##9B7C1D1.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)
#8B7B06
Deuteranopia (green-blind)
#938323
Tritanopia (blue-blind)
#A8716A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9b7c1d;
/* rgb */ color: rgb(155, 124, 29);
/* oklch */ color: oklch(60.0% 0.113 89.3);
Tailwind
colors: {
  custom: {
    50: '#bda162',
    500: '#9b7c1d',
    950: '#000000',
  },
}
SCSS
$custom: #9b7c1d;
$custom-light: #bda162;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7c1d",
  "rgb": {
    "r": 155,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 45.238,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59983,
    "c": 0.11297,
    "h": 89.3
  },
  "luminance": 0.21473
}

Semantic roles & 50–950 ramp

primary
#9B7C1D
secondary
#526DC2
accent
#67EB3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130E05
muted
#827E7A

Preview Lab

Preview with #9B7C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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