#7C6813#7C6813

#7C6813 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.2% C 0.100 H 94.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7C6813
RGBrgb(124, 104, 19)
HSLhsl(49, 73%, 28%)
HSVhsv(49, 85%, 49%)
CMYKcmyk(0%, 16.1%, 84.7%, 51.4%)
CIE-LABlab(44.57, -0.95, 46.40)
CIE-LCHlch(44.57, 46.41, 91.18°)
OKLaboklab(52.19% -0.0081 0.1)
OKLCHoklch(52.19% 0.1 94.6)
XYZxyz(13.3808, 14.2335, 2.6585)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6813 #13277C
analogous
#7C3313 #7C6813 #5C7C13
triadic
#7C6813 #137C68 #68137C
tetradic
#7C6813 #137C33 #13277C #7C135C
square
#7C6813 #137C33 #13277C #7C135C
split-complementary
#7C6813 #135C7C #33137C
monochromatic
#1B1604 #473B0B #7C6813 #B1951B #DFBC2B

Accessibility & contrast

On white

5.46
#7C6813 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7C6813 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6813
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6813#FFFFFF#000000##FFFFFF
##7C68131.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#796C19
Tritanopia (blue-blind)
#875F58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c6813;
/* rgb */ color: rgb(124, 104, 19);
/* oklch */ color: oklch(52.2% 0.100 94.6);
Tailwind
colors: {
  custom: {
    50: '#a6925a',
    500: '#7c6813',
    950: '#000000',
  },
}
SCSS
$custom: #7c6813;
$custom-light: #a6925a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6813",
  "rgb": {
    "r": 124,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 48.571,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52185,
    "c": 0.10032,
    "h": 94.6
  },
  "luminance": 0.14233
}

Semantic roles & 50–950 ramp

primary
#7C6813
secondary
#3950B2
accent
#5BF038
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7C6813

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

Preview Lab → · Contrast checker → · Palette generator →

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