#9B7E1E#9B7E1E

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

Color values

HEX#9B7E1E
RGBrgb(155, 126, 30)
HSLhsl(46, 68%, 36%)
HSVhsv(46, 81%, 61%)
CMYKcmyk(0%, 18.7%, 80.6%, 39.2%)
CIE-LABlab(54.01, 1.52, 52.32)
CIE-LCHlch(54.01, 52.34, 88.33°)
OKLaboklab(60.42% -0.0016 0.1135)
OKLCHoklch(60.42% 0.114 90.8)
XYZxyz(21.2140, 21.9854, 4.3543)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7E1E #1E3B9B
analogous
#9B401E #9B7E1E #7A9B1E
triadic
#9B7E1E #1E9B7E #7E1E9B
tetradic
#9B7E1E #1E9B40 #1E3B9B #9B1E7A
square
#9B7E1E #1E9B40 #1E3B9B #9B1E7A
split-complementary
#9B7E1E #1E7A9B #401E9B
monochromatic
#342B0A #685414 #9B7E1E #CEA828 #DEBE55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B7E1E#FFFFFF#000000##000000
##9B7E1E1.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)
#8D7C08
Deuteranopia (green-blind)
#948524
Tritanopia (blue-blind)
#A8736C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9b7e1e;
/* rgb */ color: rgb(155, 126, 30);
/* oklch */ color: oklch(60.4% 0.114 90.8);
Tailwind
colors: {
  custom: {
    50: '#bda363',
    500: '#9b7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #9b7e1e;
$custom-light: #bda363;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7e1e",
  "rgb": {
    "r": 155,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 46.08,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60416,
    "c": 0.11351,
    "h": 90.8
  },
  "luminance": 0.21984
}

Semantic roles & 50–950 ramp

primary
#9B7E1E
secondary
#536DC2
accent
#66EA3D
background
#FCF9F6
surface
#F8F2EB
border
#D1CCC6
text
#130F06
muted
#827E7A

Preview Lab

Preview with #9B7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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