#7B6315#7B6315

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

Color values

HEX#7B6315
RGBrgb(123, 99, 21)
HSLhsl(46, 71%, 28%)
HSVhsv(46, 83%, 48%)
CMYKcmyk(0%, 19.5%, 82.9%, 51.8%)
CIE-LABlab(43.05, 1.55, 44.34)
CIE-LCHlch(43.05, 44.37, 88.00°)
OKLaboklab(50.96% -0.0007 0.096)
OKLCHoklch(50.96% 0.096 90.4)
XYZxyz(12.7663, 13.1896, 2.5828)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6315 #152D7B
analogous
#7B3015 #7B6315 #607B15
triadic
#7B6315 #157B63 #63157B
tetradic
#7B6315 #157B30 #152D7B #7B1560
square
#7B6315 #157B30 #152D7B #7B1560
split-complementary
#7B6315 #15607B #30157B
monochromatic
#1A1504 #47390C #7B6315 #AF8D1E #DBB32F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B6315#FFFFFF#000000##FFFFFF
##7B63151.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)
#6F6204
Deuteranopia (green-blind)
#75681A
Tritanopia (blue-blind)
#865A54
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7b6315;
/* rgb */ color: rgb(123, 99, 21);
/* oklch */ color: oklch(51.0% 0.096 90.4);
Tailwind
colors: {
  custom: {
    50: '#a58f5a',
    500: '#7b6315',
    950: '#000000',
  },
}
SCSS
$custom: #7b6315;
$custom-light: #a58f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6315",
  "rgb": {
    "r": 123,
    "g": 99,
    "b": 21
  },
  "hsl": {
    "h": 45.882,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50964,
    "c": 0.09604,
    "h": 90.4
  },
  "luminance": 0.13189
}

Semantic roles & 50–950 ramp

primary
#7B6315
secondary
#3B57B0
accent
#64EE3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B6315

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

Preview Lab → · Contrast checker → · Palette generator →

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