#7C6C19#7C6C19

#7C6C19 is a mid, moderate yellow. Relative luminance 0.151; OKLCH L 53.1% C 0.100 H 97.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7C6C19
RGBrgb(124, 108, 25)
HSLhsl(50, 66%, 29%)
HSVhsv(50, 80%, 49%)
CMYKcmyk(0%, 12.9%, 79.8%, 51.4%)
CIE-LABlab(45.75, -3.02, 45.38)
CIE-LCHlch(45.75, 45.48, 93.81°)
OKLaboklab(53.13% -0.0133 0.0991)
OKLCHoklch(53.13% 0.1 97.7)
XYZxyz(13.8509, 15.0811, 3.1009)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6C19 #19297C
analogous
#7C3B19 #7C6C19 #5B7C19
triadic
#7C6C19 #197C6C #6C197C
tetradic
#7C6C19 #197C3B #19297C #7C195B
square
#7C6C19 #197C3B #19297C #7C195B
split-complementary
#7C6C19 #195B7C #3B197C
monochromatic
#191605 #49400F #7C6C19 #AF9823 #D7BD38

Accessibility & contrast

On white

5.23
#7C6C19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7C6C19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6C19
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6C19#FFFFFF#000000##FFFFFF
##7C6C191.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786907
Deuteranopia (green-blind)
#7C6F1F
Tritanopia (blue-blind)
#86635C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c6c19;
/* rgb */ color: rgb(124, 108, 25);
/* oklch */ color: oklch(53.1% 0.100 97.7);
Tailwind
colors: {
  custom: {
    50: '#a5955d',
    500: '#7c6c19',
    950: '#000000',
  },
}
SCSS
$custom: #7c6c19;
$custom-light: #a5955d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6c19",
  "rgb": {
    "r": 124,
    "g": 108,
    "b": 25
  },
  "hsl": {
    "h": 50.303,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53128,
    "c": 0.10001,
    "h": 97.7
  },
  "luminance": 0.1508
}

Semantic roles & 50–950 ramp

primary
#7C6C19
secondary
#4053B0
accent
#5AE93E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6C19

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

Preview Lab → · Contrast checker → · Palette generator →

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