#7C6814#7C6814

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

Color values

HEX#7C6814
RGBrgb(124, 104, 20)
HSLhsl(48, 72%, 28%)
HSVhsv(48, 84%, 49%)
CMYKcmyk(0%, 16.1%, 83.9%, 51.4%)
CIE-LABlab(44.57, -0.92, 46.08)
CIE-LCHlch(44.57, 46.09, 91.14°)
OKLaboklab(52.19% -0.0079 0.0995)
OKLCHoklch(52.19% 0.1 94.5)
XYZxyz(13.3895, 14.2370, 2.7045)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6814 #14287C
analogous
#7C3414 #7C6814 #5C7C14
triadic
#7C6814 #147C68 #68147C
tetradic
#7C6814 #147C34 #14287C #7C145C
square
#7C6814 #147C34 #14287C #7C145C
split-complementary
#7C6814 #145C7C #34147C
monochromatic
#1A1604 #473C0B #7C6814 #B1941D #DDBB2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C6814#FFFFFF#000000##FFFFFF
##7C68141.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)
#796C1A
Tritanopia (blue-blind)
#875F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c6814;
/* rgb */ color: rgb(124, 104, 20);
/* oklch */ color: oklch(52.2% 0.100 94.5);
Tailwind
colors: {
  custom: {
    50: '#a6925a',
    500: '#7c6814',
    950: '#000000',
  },
}
SCSS
$custom: #7c6814;
$custom-light: #a6925a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6814",
  "rgb": {
    "r": 124,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 48.462,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.5219,
    "c": 0.09982,
    "h": 94.5
  },
  "luminance": 0.14236
}

Semantic roles & 50–950 ramp

primary
#7C6814
secondary
#3A51B2
accent
#5CEF39
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7C6814

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

Preview Lab → · Contrast checker → · Palette generator →

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