#7B6615#7B6615

#7B6615 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.6% C 0.098 H 93.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7B6615
RGBrgb(123, 102, 21)
HSLhsl(48, 71%, 28%)
HSVhsv(48, 83%, 48%)
CMYKcmyk(0%, 17.1%, 82.9%, 51.8%)
CIE-LABlab(43.90, -0.20, 45.10)
CIE-LCHlch(43.90, 45.10, 90.26°)
OKLaboklab(51.64% -0.0057 0.0977)
OKLCHoklch(51.64% 0.098 93.3)
XYZxyz(13.0559, 13.7686, 2.6793)
Luminance0.1377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6615 #152A7B
analogous
#7B3315 #7B6615 #5D7B15
triadic
#7B6615 #157B66 #66157B
tetradic
#7B6615 #157B33 #152A7B #7B155D
square
#7B6615 #157B33 #152A7B #7B155D
split-complementary
#7B6615 #155D7B #33157B
monochromatic
#1A1604 #473B0C #7B6615 #AF911E #DBB82F

Accessibility & contrast

On white

5.59
#7B6615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7B6615 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6615
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6615#FFFFFF#000000##FFFFFF
##7B66151.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726402
Deuteranopia (green-blind)
#776A1A
Tritanopia (blue-blind)
#865D57
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b6615;
/* rgb */ color: rgb(123, 102, 21);
/* oklch */ color: oklch(51.6% 0.098 93.3);
Tailwind
colors: {
  custom: {
    50: '#a5915a',
    500: '#7b6615',
    950: '#000000',
  },
}
SCSS
$custom: #7b6615;
$custom-light: #a5915a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6615",
  "rgb": {
    "r": 123,
    "g": 102,
    "b": 21
  },
  "hsl": {
    "h": 47.647,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51637,
    "c": 0.09786,
    "h": 93.3
  },
  "luminance": 0.13768
}

Semantic roles & 50–950 ramp

primary
#7B6615
secondary
#3B54B0
accent
#5FEE3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B6615

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

Preview Lab → · Contrast checker → · Palette generator →

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