#9B7E1D#9B7E1D

#9B7E1D is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.4% C 0.114 H 90.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9B7E1D
RGBrgb(155, 126, 29)
HSLhsl(46, 68%, 36%)
HSVhsv(46, 81%, 61%)
CMYKcmyk(0%, 18.7%, 81.3%, 39.2%)
CIE-LABlab(54.01, 1.48, 52.65)
CIE-LCHlch(54.01, 52.68, 88.39°)
OKLaboklab(60.41% -0.0018 0.114)
OKLCHoklch(60.41% 0.114 90.9)
XYZxyz(21.2015, 21.9803, 4.2881)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7E1D #1D3A9B
analogous
#9B3F1D #9B7E1D #799B1D
triadic
#9B7E1D #1D9B7E #7E1D9B
tetradic
#9B7E1D #1D9B3F #1D3A9B #9B1D79
square
#9B7E1D #1D9B3F #1D3A9B #9B1D79
split-complementary
#9B7E1D #1D799B #3F1D9B
monochromatic
#342A0A #675413 #9B7E1D #CFA827 #DFBF53

Accessibility & contrast

On white

3.89
#9B7E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#9B7E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7E1D
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7E1D#FFFFFF#000000##000000
##9B7E1D1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C05
Deuteranopia (green-blind)
#948523
Tritanopia (blue-blind)
#A8736C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9b7e1d;
/* rgb */ color: rgb(155, 126, 29);
/* oklch */ color: oklch(60.4% 0.114 90.9);
Tailwind
colors: {
  custom: {
    50: '#bda362',
    500: '#9b7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #9b7e1d;
$custom-light: #bda362;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7e1d",
  "rgb": {
    "r": 155,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 46.19,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.6041,
    "c": 0.11402,
    "h": 90.9
  },
  "luminance": 0.21979
}

Semantic roles & 50–950 ramp

primary
#9B7E1D
secondary
#526CC2
accent
#65EB3C
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F06
muted
#827E7A

Preview Lab

Preview with #9B7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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