#7B6317#7B6317

#7B6317 is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 51.0% C 0.095 H 90.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7B6317
RGBrgb(123, 99, 23)
HSLhsl(46, 68%, 29%)
HSVhsv(46, 81%, 48%)
CMYKcmyk(0%, 19.5%, 81.3%, 51.8%)
CIE-LABlab(43.06, 1.63, 43.62)
CIE-LCHlch(43.06, 43.65, 87.86°)
OKLaboklab(50.98% -0.0003 0.095)
OKLCHoklch(50.98% 0.095 90.2)
XYZxyz(12.7856, 13.1973, 2.6844)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6317 #172F7B
analogous
#7B3117 #7B6317 #617B17
triadic
#7B6317 #177B63 #63177B
tetradic
#7B6317 #177B31 #172F7B #7B1761
square
#7B6317 #177B31 #172F7B #7B1761
split-complementary
#7B6317 #17617B #31177B
monochromatic
#1A1505 #47390D #7B6317 #AF8C21 #D9B133

Accessibility & contrast

On white

5.77
#7B6317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7B6317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6317
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6317#FFFFFF#000000##FFFFFF
##7B63171.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6207
Deuteranopia (green-blind)
#75681C
Tritanopia (blue-blind)
#865A55
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b6317;
/* rgb */ color: rgb(123, 99, 23);
/* oklch */ color: oklch(51.0% 0.095 90.2);
Tailwind
colors: {
  custom: {
    50: '#a58f5b',
    500: '#7b6317',
    950: '#000000',
  },
}
SCSS
$custom: #7b6317;
$custom-light: #a58f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6317",
  "rgb": {
    "r": 123,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 45.6,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50977,
    "c": 0.09495,
    "h": 90.2
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#7B6317
secondary
#3E59B0
accent
#66EB3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B6317

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

Preview Lab → · Contrast checker → · Palette generator →

#7B6317 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva