#7B6818#7B6818

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

Color values

HEX#7B6818
RGBrgb(123, 104, 24)
HSLhsl(48, 67%, 29%)
HSVhsv(48, 80%, 48%)
CMYKcmyk(0%, 15.4%, 80.5%, 51.8%)
CIE-LABlab(44.49, -1.24, 44.55)
CIE-LCHlch(44.49, 44.57, 91.60°)
OKLaboklab(52.11% -0.0083 0.0972)
OKLCHoklch(52.11% 0.098 94.9)
XYZxyz(13.2843, 14.1783, 2.9010)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6818 #182B7B
analogous
#7B3718 #7B6818 #5D7B18
triadic
#7B6818 #187B68 #68187B
tetradic
#7B6818 #187B37 #182B7B #7B185D
square
#7B6818 #187B37 #182B7B #7B185D
split-complementary
#7B6818 #185D7B #37187B
monochromatic
#1A1605 #483D0E #7B6818 #AE9322 #D8B936

Accessibility & contrast

On white

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

On black

3.84
#7B6818 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B6818#FFFFFF#000000##FFFFFF
##7B68181.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746607
Deuteranopia (green-blind)
#796C1D
Tritanopia (blue-blind)
#855F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b6818;
/* rgb */ color: rgb(123, 104, 24);
/* oklch */ color: oklch(52.1% 0.098 94.9);
Tailwind
colors: {
  custom: {
    50: '#a5925c',
    500: '#7b6818',
    950: '#000000',
  },
}
SCSS
$custom: #7b6818;
$custom-light: #a5925c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6818",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 48.485,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52107,
    "c": 0.09754,
    "h": 94.9
  },
  "luminance": 0.14178
}

Semantic roles & 50–950 ramp

primary
#7B6818
secondary
#3F55B0
accent
#5FEA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7B6818

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

Preview Lab → · Contrast checker → · Palette generator →

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