#7C7319#7C7319

#7C7319 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.7% C 0.106 H 103.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7C7319
RGBrgb(124, 115, 25)
HSLhsl(55, 66%, 29%)
HSVhsv(55, 80%, 49%)
CMYKcmyk(0%, 7.3%, 79.8%, 51.4%)
CIE-LABlab(47.77, -7.00, 47.24)
CIE-LCHlch(47.77, 47.76, 98.42°)
OKLaboklab(54.74% -0.0245 0.1031)
OKLCHoklch(54.74% 0.106 103.4)
XYZxyz(14.6190, 16.6174, 3.3569)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7319 #19227C
analogous
#7C4119 #7C7319 #547C19
triadic
#7C7319 #197C73 #73197C
tetradic
#7C7319 #197C41 #19227C #7C1954
square
#7C7319 #197C41 #19227C #7C1954
split-complementary
#7C7319 #19547C #41197C
monochromatic
#191805 #49440F #7C7319 #AFA223 #D7C938

Accessibility & contrast

On white

4.86
#7C7319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7C7319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7319
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7319#FFFFFF#000000##FFFFFF
##7C73191.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F04
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#866A62
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c7319;
/* rgb */ color: rgb(124, 115, 25);
/* oklch */ color: oklch(54.7% 0.106 103.4);
Tailwind
colors: {
  custom: {
    50: '#a59b5e',
    500: '#7c7319',
    950: '#000000',
  },
}
SCSS
$custom: #7c7319;
$custom-light: #a59b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7319",
  "rgb": {
    "r": 124,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 54.545,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54739,
    "c": 0.10597,
    "h": 103.4
  },
  "luminance": 0.16617
}

Semantic roles & 50–950 ramp

primary
#7C7319
secondary
#404BB0
accent
#4EE93E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7319

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

Preview Lab → · Contrast checker → · Palette generator →

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