#7C7C11#7C7C11

#7C7C11 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.8% C 0.119 H 109.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7C7C11
RGBrgb(124, 124, 17)
HSLhsl(60, 76%, 28%)
HSVhsv(60, 86%, 49%)
CMYKcmyk(0%, 0%, 86.3%, 51.4%)
CIE-LABlab(50.38, -12.25, 51.94)
CIE-LCHlch(50.38, 53.37, 103.27°)
OKLaboklab(56.81% -0.0398 0.1116)
OKLCHoklch(56.81% 0.119 109.6)
XYZxyz(15.6216, 18.7414, 3.3248)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7C11 #11117C
analogous
#7C4611 #7C7C11 #467C11
triadic
#7C7C11 #117C7C #7C117C
tetradic
#7C7C11 #117C46 #11117C #7C1146
square
#7C7C11 #117C46 #11117C #7C1146
split-complementary
#7C7C11 #11467C #46117C
monochromatic
#1B1B04 #46460A #7C7C11 #B2B218 #E1E126

Accessibility & contrast

On white

4.42
#7C7C11 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7C7C11 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7C11
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7C11#FFFFFF#000000##000000
##7C7C111.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#88791C
Tritanopia (blue-blind)
#867369
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c7c11;
/* rgb */ color: rgb(124, 124, 17);
/* oklch */ color: oklch(56.8% 0.119 109.6);
Tailwind
colors: {
  custom: {
    50: '#a6a15c',
    500: '#7c7c11',
    950: '#000000',
  },
}
SCSS
$custom: #7c7c11;
$custom-light: #a6a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7c11",
  "rgb": {
    "r": 124,
    "g": 124,
    "b": 17
  },
  "hsl": {
    "h": 60,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.56808,
    "c": 0.11853,
    "h": 109.6
  },
  "luminance": 0.18741
}

Semantic roles & 50–950 ramp

primary
#7C7C11
secondary
#3737B2
accent
#35F235
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7C11

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

Preview Lab → · Contrast checker → · Palette generator →

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