#7B6C15#7B6C15

#7B6C15 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 53.0% C 0.102 H 98.7°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7B6C15
RGBrgb(123, 108, 21)
HSLhsl(51, 71%, 28%)
HSVhsv(51, 83%, 48%)
CMYKcmyk(0%, 12.2%, 82.9%, 51.8%)
CIE-LABlab(45.62, -3.66, 46.63)
CIE-LCHlch(45.62, 46.78, 94.49°)
OKLaboklab(53% -0.0155 0.101)
OKLCHoklch(53% 0.102 98.7)
XYZxyz(13.6670, 14.9909, 2.8830)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6C15 #15247B
analogous
#7B3915 #7B6C15 #577B15
triadic
#7B6C15 #157B6C #6C157B
tetradic
#7B6C15 #157B39 #15247B #7B1557
square
#7B6C15 #157B39 #15247B #7B1557
split-complementary
#7B6C15 #15577B #39157B
monochromatic
#1A1704 #473E0C #7B6C15 #AF9A1E #DBC22F

Accessibility & contrast

On white

5.25
#7B6C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7B6C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6C15
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6C15#FFFFFF#000000##FFFFFF
##7B6C151.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#7C6E1C
Tritanopia (blue-blind)
#85635C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7b6c15;
/* rgb */ color: rgb(123, 108, 21);
/* oklch */ color: oklch(53.0% 0.102 98.7);
Tailwind
colors: {
  custom: {
    50: '#a5955b',
    500: '#7b6c15',
    950: '#000000',
  },
}
SCSS
$custom: #7b6c15;
$custom-light: #a5955b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6c15",
  "rgb": {
    "r": 123,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 51.176,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.53,
    "c": 0.10217,
    "h": 98.7
  },
  "luminance": 0.1499
}

Semantic roles & 50–950 ramp

primary
#7B6C15
secondary
#3B4DB0
accent
#55EE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7B6C15

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

Preview Lab → · Contrast checker → · Palette generator →

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