#7B6815#7B6815

#7B6815 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.1% C 0.099 H 95.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7B6815
RGBrgb(123, 104, 21)
HSLhsl(49, 71%, 28%)
HSVhsv(49, 83%, 48%)
CMYKcmyk(0%, 15.4%, 82.9%, 51.8%)
CIE-LABlab(44.47, -1.36, 45.61)
CIE-LCHlch(44.47, 45.63, 91.71°)
OKLaboklab(52.09% -0.009 0.0988)
OKLCHoklch(52.09% 0.099 95.2)
XYZxyz(13.2548, 14.1665, 2.7456)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6815 #15287B
analogous
#7B3515 #7B6815 #5B7B15
triadic
#7B6815 #157B68 #68157B
tetradic
#7B6815 #157B35 #15287B #7B155B
square
#7B6815 #157B35 #15287B #7B155B
split-complementary
#7B6815 #155B7B #35157B
monochromatic
#1A1604 #473C0C #7B6815 #AF941E #DBBB2F

Accessibility & contrast

On white

5.48
#7B6815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7B6815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6815
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6815#FFFFFF#000000##FFFFFF
##7B68151.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746602
Deuteranopia (green-blind)
#796C1B
Tritanopia (blue-blind)
#865F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b6815;
/* rgb */ color: rgb(123, 104, 21);
/* oklch */ color: oklch(52.1% 0.099 95.2);
Tailwind
colors: {
  custom: {
    50: '#a5925b',
    500: '#7b6815',
    950: '#000000',
  },
}
SCSS
$custom: #7b6815;
$custom-light: #a5925b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6815",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 48.824,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52088,
    "c": 0.09919,
    "h": 95.2
  },
  "luminance": 0.14166
}

Semantic roles & 50–950 ramp

primary
#7B6815
secondary
#3B51B0
accent
#5CEE3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7B6815

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

Preview Lab → · Contrast checker → · Palette generator →

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