#9B7B19#9B7B19

#9B7B19 is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.7% C 0.114 H 88.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#9B7B19
RGBrgb(155, 123, 25)
HSLhsl(45, 72%, 35%)
HSVhsv(45, 84%, 61%)
CMYKcmyk(0%, 20.6%, 83.9%, 39.2%)
CIE-LABlab(53.17, 3.03, 53.24)
CIE-LCHlch(53.17, 53.32, 86.74°)
OKLaboklab(59.75% 0.0022 0.1144)
OKLCHoklch(59.75% 0.114 88.9)
XYZxyz(20.7773, 21.2061, 3.9184)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B7B19 #19399B
analogous
#9B3A19 #9B7B19 #7A9B19
triadic
#9B7B19 #199B7B #7B199B
tetradic
#9B7B19 #199B3A #19399B #9B197A
square
#9B7B19 #199B3A #19399B #9B197A
split-complementary
#9B7B19 #197A9B #3A199B
monochromatic
#322708 #665111 #9B7B19 #D0A522 #E2BD4C

Accessibility & contrast

On white

4.01
#9B7B19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#9B7B19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B7B19
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B7B19#FFFFFF#000000##000000
##9B7B191.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#92831F
Tritanopia (blue-blind)
#A96F69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9b7b19;
/* rgb */ color: rgb(155, 123, 25);
/* oklch */ color: oklch(59.7% 0.114 88.9);
Tailwind
colors: {
  custom: {
    50: '#bda060',
    500: '#9b7b19',
    950: '#000000',
  },
}
SCSS
$custom: #9b7b19;
$custom-light: #bda060;
$custom-dark: #000000;
JSON
{
  "hex": "#9b7b19",
  "rgb": {
    "r": 155,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 45.231,
    "s": 72.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59749,
    "c": 0.11439,
    "h": 88.9
  },
  "luminance": 0.21205
}

Semantic roles & 50–950 ramp

primary
#9B7B19
secondary
#4C69C4
accent
#66EF39
background
#FCF9F5
surface
#F8F2EA
border
#D1CCC6
text
#130E05
muted
#827E79

Preview Lab

Preview with #9B7B19

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

Preview Lab → · Contrast checker → · Palette generator →

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