#7C7219#7C7219

#7C7219 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.5% C 0.105 H 102.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7C7219
RGBrgb(124, 114, 25)
HSLhsl(54, 66%, 29%)
HSVhsv(54, 80%, 49%)
CMYKcmyk(0%, 8.1%, 79.8%, 51.4%)
CIE-LABlab(47.48, -6.43, 46.98)
CIE-LCHlch(47.48, 47.41, 97.80°)
OKLaboklab(54.51% -0.023 0.1025)
OKLCHoklch(54.51% 0.105 102.6)
XYZxyz(14.5056, 16.3905, 3.3191)
Luminance0.1639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7219 #19237C
analogous
#7C4119 #7C7219 #557C19
triadic
#7C7219 #197C72 #72197C
tetradic
#7C7219 #197C41 #19237C #7C1955
square
#7C7219 #197C41 #19237C #7C1955
split-complementary
#7C7219 #19557C #41197C
monochromatic
#191705 #49430F #7C7219 #AFA123 #D7C738

Accessibility & contrast

On white

4.91
#7C7219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7C7219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7219
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7219#FFFFFF#000000##FFFFFF
##7C72191.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E04
Deuteranopia (green-blind)
#807320
Tritanopia (blue-blind)
#866961
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7c7219;
/* rgb */ color: rgb(124, 114, 25);
/* oklch */ color: oklch(54.5% 0.105 102.6);
Tailwind
colors: {
  custom: {
    50: '#a59a5e',
    500: '#7c7219',
    950: '#000000',
  },
}
SCSS
$custom: #7c7219;
$custom-light: #a59a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7219",
  "rgb": {
    "r": 124,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 53.939,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54507,
    "c": 0.10507,
    "h": 102.6
  },
  "luminance": 0.1639
}

Semantic roles & 50–950 ramp

primary
#7C7219
secondary
#404CB0
accent
#50E93E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7219

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

Preview Lab → · Contrast checker → · Palette generator →

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