#7B6D15#7B6D15

#7B6D15 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.2% C 0.103 H 99.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7B6D15
RGBrgb(123, 109, 21)
HSLhsl(52, 71%, 28%)
HSVhsv(52, 83%, 48%)
CMYKcmyk(0%, 11.4%, 82.9%, 51.8%)
CIE-LABlab(45.91, -4.23, 46.89)
CIE-LCHlch(45.91, 47.08, 95.16°)
OKLaboklab(53.23% -0.0171 0.1015)
OKLCHoklch(53.23% 0.103 99.6)
XYZxyz(13.7731, 15.2031, 2.9183)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6D15 #15237B
analogous
#7B3A15 #7B6D15 #567B15
triadic
#7B6D15 #157B6D #6D157B
tetradic
#7B6D15 #157B3A #15237B #7B1556
square
#7B6D15 #157B3A #15237B #7B1556
split-complementary
#7B6D15 #15567B #3A157B
monochromatic
#1A1704 #473F0C #7B6D15 #AF9B1E #DBC42F

Accessibility & contrast

On white

5.20
#7B6D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7B6D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6D15
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6D15#FFFFFF#000000##FFFFFF
##7B6D151.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#7C6F1C
Tritanopia (blue-blind)
#85645D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b6d15;
/* rgb */ color: rgb(123, 109, 21);
/* oklch */ color: oklch(53.2% 0.103 99.6);
Tailwind
colors: {
  custom: {
    50: '#a5965b',
    500: '#7b6d15',
    950: '#000000',
  },
}
SCSS
$custom: #7b6d15;
$custom-light: #a5965b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6d15",
  "rgb": {
    "r": 123,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 51.765,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53229,
    "c": 0.10297,
    "h": 99.6
  },
  "luminance": 0.15202
}

Semantic roles & 50–950 ramp

primary
#7B6D15
secondary
#3B4BB0
accent
#53EE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B6D15

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

Preview Lab → · Contrast checker → · Palette generator →

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