#7C6D19#7C6D19

#7C6D19 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.4% C 0.101 H 98.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7C6D19
RGBrgb(124, 109, 25)
HSLhsl(51, 66%, 29%)
HSVhsv(51, 80%, 49%)
CMYKcmyk(0%, 12.1%, 79.8%, 51.4%)
CIE-LABlab(46.03, -3.60, 45.65)
CIE-LCHlch(46.03, 45.79, 94.51°)
OKLaboklab(53.36% -0.015 0.0997)
OKLCHoklch(53.36% 0.101 98.5)
XYZxyz(13.9570, 15.2933, 3.1363)
Luminance0.1529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6D19 #19287C
analogous
#7C3C19 #7C6D19 #5A7C19
triadic
#7C6D19 #197C6D #6D197C
tetradic
#7C6D19 #197C3C #19287C #7C195A
square
#7C6D19 #197C3C #19287C #7C195A
split-complementary
#7C6D19 #195A7C #3C197C
monochromatic
#191605 #49400F #7C6D19 #AF9A23 #D7BF38

Accessibility & contrast

On white

5.17
#7C6D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7C6D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6D19
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6D19#FFFFFF#000000##FFFFFF
##7C6D191.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A07
Deuteranopia (green-blind)
#7D6F1F
Tritanopia (blue-blind)
#86645D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c6d19;
/* rgb */ color: rgb(124, 109, 25);
/* oklch */ color: oklch(53.4% 0.101 98.5);
Tailwind
colors: {
  custom: {
    50: '#a5965d',
    500: '#7c6d19',
    950: '#000000',
  },
}
SCSS
$custom: #7c6d19;
$custom-light: #a5965d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6d19",
  "rgb": {
    "r": 124,
    "g": 109,
    "b": 25
  },
  "hsl": {
    "h": 50.909,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53357,
    "c": 0.1008,
    "h": 98.5
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

primary
#7C6D19
secondary
#4051B0
accent
#58E93E
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7C6D19

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

Preview Lab → · Contrast checker → · Palette generator →

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