#7C7A15#7C7A15

#7C7A15 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.4% C 0.115 H 108.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7C7A15
RGBrgb(124, 122, 21)
HSLhsl(59, 71%, 28%)
HSVhsv(59, 83%, 49%)
CMYKcmyk(0%, 1.6%, 83.1%, 51.4%)
CIE-LABlab(49.81, -11.03, 50.35)
CIE-LCHlch(49.81, 51.54, 102.36°)
OKLaboklab(56.35% -0.0362 0.1089)
OKLCHoklch(56.35% 0.115 108.4)
XYZxyz(15.4077, 18.2588, 3.4220)
Luminance0.1826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7A15 #15177C
analogous
#7C4615 #7C7A15 #4A7C15
triadic
#7C7A15 #157C7A #7A157C
tetradic
#7C7A15 #157C46 #15177C #7C154A
square
#7C7A15 #157C46 #15177C #7C154A
split-complementary
#7C7A15 #154A7C #46157C
monochromatic
#1A1A04 #48470C #7C7A15 #B0AD1E #DCD930

Accessibility & contrast

On white

4.51
#7C7A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7C7A15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7A15
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7A15#FFFFFF#000000##000000
##7C7A151.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#86781E
Tritanopia (blue-blind)
#867168
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c7a15;
/* rgb */ color: rgb(124, 122, 21);
/* oklch */ color: oklch(56.4% 0.115 108.4);
Tailwind
colors: {
  custom: {
    50: '#a5a05d',
    500: '#7c7a15',
    950: '#000000',
  },
}
SCSS
$custom: #7c7a15;
$custom-light: #a5a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7a15",
  "rgb": {
    "r": 124,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 58.835,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56354,
    "c": 0.11479,
    "h": 108.4
  },
  "luminance": 0.18258
}

Semantic roles & 50–950 ramp

primary
#7C7A15
secondary
#3C3EB1
accent
#3EEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7A15

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

Preview Lab → · Contrast checker → · Palette generator →

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