#7C7916#7C7916

#7C7916 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.113 H 107.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7C7916
RGBrgb(124, 121, 22)
HSLhsl(58, 70%, 29%)
HSVhsv(58, 82%, 49%)
CMYKcmyk(0%, 2.4%, 82.3%, 51.4%)
CIE-LABlab(49.52, -10.45, 49.79)
CIE-LCHlch(49.52, 50.87, 101.85°)
OKLaboklab(56.12% -0.0345 0.1079)
OKLCHoklch(56.12% 0.113 107.7)
XYZxyz(15.2950, 18.0183, 3.4311)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7916 #16197C
analogous
#7C4616 #7C7916 #4C7C16
triadic
#7C7916 #167C79 #79167C
tetradic
#7C7916 #167C46 #16197C #7C164C
square
#7C7916 #167C46 #16197C #7C164C
split-complementary
#7C7916 #164C7C #46167C
monochromatic
#1A1905 #48460D #7C7916 #B0AC1F #DBD632

Accessibility & contrast

On white

4.56
#7C7916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#7C7916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7916
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7916#FFFFFF#000000##000000
##7C79161.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#86771F
Tritanopia (blue-blind)
#867067
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c7916;
/* rgb */ color: rgb(124, 121, 22);
/* oklch */ color: oklch(56.1% 0.113 107.7);
Tailwind
colors: {
  custom: {
    50: '#a59f5e',
    500: '#7c7916',
    950: '#000000',
  },
}
SCSS
$custom: #7c7916;
$custom-light: #a59f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7916",
  "rgb": {
    "r": 124,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 58.235,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.56124,
    "c": 0.11331,
    "h": 107.7
  },
  "luminance": 0.18018
}

Semantic roles & 50–950 ramp

primary
#7C7916
secondary
#3D40B1
accent
#40ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7916

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

Preview Lab → · Contrast checker → · Palette generator →

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