#7C7519#7C7519

#7C7519 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.2% C 0.108 H 104.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7C7519
RGBrgb(124, 117, 25)
HSLhsl(56, 66%, 29%)
HSVhsv(56, 80%, 49%)
CMYKcmyk(0%, 5.6%, 79.8%, 51.4%)
CIE-LABlab(48.36, -8.11, 47.78)
CIE-LCHlch(48.36, 48.46, 99.64°)
OKLaboklab(55.2% -0.0277 0.1042)
OKLCHoklch(55.2% 0.108 104.9)
XYZxyz(14.8496, 17.0784, 3.4338)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7519 #19207C
analogous
#7C4419 #7C7519 #527C19
triadic
#7C7519 #197C75 #75197C
tetradic
#7C7519 #197C44 #19207C #7C1952
square
#7C7519 #197C44 #19207C #7C1952
split-complementary
#7C7519 #19527C #44197C
monochromatic
#191805 #49450F #7C7519 #AFA523 #D7CC38

Accessibility & contrast

On white

4.76
#7C7519 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7C7519 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7519
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7519#FFFFFF#000000##FFFFFF
##7C75191.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807103
Deuteranopia (green-blind)
#827520
Tritanopia (blue-blind)
#866C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7c7519;
/* rgb */ color: rgb(124, 117, 25);
/* oklch */ color: oklch(55.2% 0.108 104.9);
Tailwind
colors: {
  custom: {
    50: '#a59c5e',
    500: '#7c7519',
    950: '#000000',
  },
}
SCSS
$custom: #7c7519;
$custom-light: #a59c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7519",
  "rgb": {
    "r": 124,
    "g": 117,
    "b": 25
  },
  "hsl": {
    "h": 55.758,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55204,
    "c": 0.10784,
    "h": 104.9
  },
  "luminance": 0.17078
}

Semantic roles & 50–950 ramp

primary
#7C7519
secondary
#4048B0
accent
#4BE93E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7519

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

Preview Lab → · Contrast checker → · Palette generator →

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