#7B6825#7B6825

#7B6825 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.2% C 0.088 H 93.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7B6825
RGBrgb(123, 104, 37)
HSLhsl(47, 54%, 31%)
HSVhsv(47, 70%, 48%)
CMYKcmyk(0%, 15.4%, 69.9%, 51.8%)
CIE-LABlab(44.58, -0.56, 39.15)
CIE-LCHlch(44.58, 39.15, 90.82°)
OKLaboklab(52.21% -0.0048 0.0884)
OKLCHoklch(52.21% 0.088 93.1)
XYZxyz(13.4533, 14.2459, 3.7910)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6825 #25387B
analogous
#7B3D25 #7B6825 #637B25
triadic
#7B6825 #257B68 #68257B
tetradic
#7B6825 #257B3D #25387B #7B2563
square
#7B6825 #257B3D #25387B #7B2563
split-complementary
#7B6825 #25637B #3D257B
monochromatic
#1D1809 #4C4017 #7B6825 #AA9033 #CAAF50

Accessibility & contrast

On white

5.46
#7B6825 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7B6825 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6825
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6825#FFFFFF#000000##FFFFFF
##7B68251.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73661D
Deuteranopia (green-blind)
#786C28
Tritanopia (blue-blind)
#85605A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b6825;
/* rgb */ color: rgb(123, 104, 37);
/* oklch */ color: oklch(52.2% 0.088 93.1);
Tailwind
colors: {
  custom: {
    50: '#a49263',
    500: '#7b6825',
    950: '#000000',
  },
}
SCSS
$custom: #7b6825;
$custom-light: #a49263;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6825",
  "rgb": {
    "r": 123,
    "g": 104,
    "b": 37
  },
  "hsl": {
    "h": 46.744,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52213,
    "c": 0.08849,
    "h": 93.1
  },
  "luminance": 0.14245
}

Semantic roles & 50–950 ramp

primary
#7B6825
secondary
#4F63AD
accent
#6BDD4B
background
#FAF8F6
surface
#F4F0EB
border
#CECBC6
text
#100D05
muted
#7F7D7A

Preview Lab

Preview with #7B6825

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

Preview Lab → · Contrast checker → · Palette generator →

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