#7B6A15#7B6A15

#7B6A15 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.5% C 0.101 H 97.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7B6A15
RGBrgb(123, 106, 21)
HSLhsl(50, 71%, 28%)
HSVhsv(50, 83%, 48%)
CMYKcmyk(0%, 13.8%, 82.9%, 51.8%)
CIE-LABlab(45.05, -2.52, 46.12)
CIE-LCHlch(45.05, 46.19, 93.12°)
OKLaboklab(52.54% -0.0122 0.0999)
OKLCHoklch(52.54% 0.101 97)
XYZxyz(13.4585, 14.5739, 2.8135)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6A15 #15267B
analogous
#7B3715 #7B6A15 #597B15
triadic
#7B6A15 #157B6A #6A157B
tetradic
#7B6A15 #157B37 #15267B #7B1559
square
#7B6A15 #157B37 #15267B #7B1559
split-complementary
#7B6A15 #15597B #37157B
monochromatic
#1A1704 #473D0C #7B6A15 #AF971E #DBBF2F

Accessibility & contrast

On white

5.36
#7B6A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7B6A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6A15
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6A15#FFFFFF#000000##FFFFFF
##7B6A151.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766701
Deuteranopia (green-blind)
#7A6D1B
Tritanopia (blue-blind)
#85615A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b6a15;
/* rgb */ color: rgb(123, 106, 21);
/* oklch */ color: oklch(52.5% 0.101 97.0);
Tailwind
colors: {
  custom: {
    50: '#a5945b',
    500: '#7b6a15',
    950: '#000000',
  },
}
SCSS
$custom: #7b6a15;
$custom-light: #a5945b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6a15",
  "rgb": {
    "r": 123,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 50,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52543,
    "c": 0.10064,
    "h": 97
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#7B6A15
secondary
#3B4FB0
accent
#58EE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B6A15

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

Preview Lab → · Contrast checker → · Palette generator →

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