#7C7415#7C7415

#7C7415 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.109 H 104.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7C7415
RGBrgb(124, 116, 21)
HSLhsl(55, 71%, 28%)
HSVhsv(55, 83%, 49%)
CMYKcmyk(0%, 6.5%, 83.1%, 51.4%)
CIE-LABlab(48.05, -7.71, 48.81)
CIE-LCHlch(48.05, 49.41, 98.98°)
OKLaboklab(54.95% -0.0269 0.1056)
OKLCHoklch(54.95% 0.109 104.3)
XYZxyz(14.6936, 16.8306, 3.1840)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7415 #151D7C
analogous
#7C4015 #7C7415 #507C15
triadic
#7C7415 #157C74 #74157C
tetradic
#7C7415 #157C40 #151D7C #7C1550
square
#7C7415 #157C40 #151D7C #7C1550
split-complementary
#7C7415 #15507C #40157C
monochromatic
#1A1804 #48430C #7C7415 #B0A51E #DCCE30

Accessibility & contrast

On white

4.81
#7C7415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7C7415 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C7415
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7415#FFFFFF#000000##FFFFFF
##7C74151.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#82741D
Tritanopia (blue-blind)
#866B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7c7415;
/* rgb */ color: rgb(124, 116, 21);
/* oklch */ color: oklch(54.9% 0.109 104.3);
Tailwind
colors: {
  custom: {
    50: '#a59b5c',
    500: '#7c7415',
    950: '#000000',
  },
}
SCSS
$custom: #7c7415;
$custom-light: #a59b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7415",
  "rgb": {
    "r": 124,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 55.34,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54949,
    "c": 0.10899,
    "h": 104.3
  },
  "luminance": 0.1683
}

Semantic roles & 50–950 ramp

primary
#7C7415
secondary
#3C45B1
accent
#48EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7C7415

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

Preview Lab → · Contrast checker → · Palette generator →

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