#7B6718#7B6718

#7B6718 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.9% C 0.097 H 94.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7B6718
RGBrgb(123, 103, 24)
HSLhsl(48, 67%, 29%)
HSVhsv(48, 80%, 48%)
CMYKcmyk(0%, 16.3%, 80.5%, 51.8%)
CIE-LABlab(44.20, -0.66, 44.29)
CIE-LCHlch(44.20, 44.30, 90.86°)
OKLaboklab(51.88% -0.0067 0.0966)
OKLCHoklch(51.88% 0.097 94)
XYZxyz(13.1842, 13.9782, 2.8676)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6718 #182C7B
analogous
#7B3618 #7B6718 #5E7B18
triadic
#7B6718 #187B67 #67187B
tetradic
#7B6718 #187B36 #182C7B #7B185E
square
#7B6718 #187B36 #182C7B #7B185E
split-complementary
#7B6718 #185E7B #36187B
monochromatic
#1A1505 #483C0E #7B6718 #AE9222 #D8B736

Accessibility & contrast

On white

5.53
#7B6718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7B6718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6718
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6718#FFFFFF#000000##FFFFFF
##7B67181.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736508
Deuteranopia (green-blind)
#786B1D
Tritanopia (blue-blind)
#865E58
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b6718;
/* rgb */ color: rgb(123, 103, 24);
/* oklch */ color: oklch(51.9% 0.097 94.0);
Tailwind
colors: {
  custom: {
    50: '#a5925c',
    500: '#7b6718',
    950: '#000000',
  },
}
SCSS
$custom: #7b6718;
$custom-light: #a5925c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6718",
  "rgb": {
    "r": 123,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 47.879,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51881,
    "c": 0.09685,
    "h": 94
  },
  "luminance": 0.13977
}

Semantic roles & 50–950 ramp

primary
#7B6718
secondary
#3F56B0
accent
#60EA3E
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7B6718

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

Preview Lab → · Contrast checker → · Palette generator →

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