#7C6913#7C6913

#7C6913 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.4% C 0.101 H 95.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7C6913
RGBrgb(124, 105, 19)
HSLhsl(49, 73%, 28%)
HSVhsv(49, 85%, 49%)
CMYKcmyk(0%, 15.3%, 84.7%, 51.4%)
CIE-LABlab(44.85, -1.53, 46.65)
CIE-LCHlch(44.85, 46.68, 91.88°)
OKLaboklab(52.41% -0.0097 0.1005)
OKLCHoklch(52.41% 0.101 95.5)
XYZxyz(13.4821, 14.4360, 2.6923)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C6913 #13267C
analogous
#7C3413 #7C6913 #5A7C13
triadic
#7C6913 #137C69 #69137C
tetradic
#7C6913 #137C34 #13267C #7C135A
square
#7C6913 #137C34 #13267C #7C135A
split-complementary
#7C6913 #135A7C #34137C
monochromatic
#1B1604 #473C0B #7C6913 #B1961B #DFBE2B

Accessibility & contrast

On white

5.40
#7C6913 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7C6913 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C6913
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C6913#FFFFFF#000000##FFFFFF
##7C69131.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#7A6D19
Tritanopia (blue-blind)
#876059
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c6913;
/* rgb */ color: rgb(124, 105, 19);
/* oklch */ color: oklch(52.4% 0.101 95.5);
Tailwind
colors: {
  custom: {
    50: '#a6935a',
    500: '#7c6913',
    950: '#000000',
  },
}
SCSS
$custom: #7c6913;
$custom-light: #a6935a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c6913",
  "rgb": {
    "r": 124,
    "g": 105,
    "b": 19
  },
  "hsl": {
    "h": 49.143,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.101,
    "h": 95.5
  },
  "luminance": 0.14435
}

Semantic roles & 50–950 ramp

primary
#7C6913
secondary
#394FB2
accent
#59F038
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7C6913

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

Preview Lab → · Contrast checker → · Palette generator →

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