#7C7C15#7C7C15

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

Color values

HEX#7C7C15
RGBrgb(124, 124, 21)
HSLhsl(60, 71%, 28%)
HSVhsv(60, 83%, 49%)
CMYKcmyk(0%, 0%, 83.1%, 51.4%)
CIE-LABlab(50.40, -12.12, 50.86)
CIE-LCHlch(50.40, 52.29, 103.40°)
OKLaboklab(56.83% -0.0392 0.1101)
OKLCHoklch(56.83% 0.117 109.6)
XYZxyz(15.6558, 18.7550, 3.5047)
Luminance0.1875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7C15 #15157C
analogous
#7C4815 #7C7C15 #487C15
triadic
#7C7C15 #157C7C #7C157C
tetradic
#7C7C15 #157C48 #15157C #7C1548
square
#7C7C15 #157C48 #15157C #7C1548
split-complementary
#7C7C15 #15487C #48157C
monochromatic
#1A1A04 #48480C #7C7C15 #B0B01E #DCDC30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C7C15#FFFFFF#000000##000000
##7C7C151.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)
#88791F
Tritanopia (blue-blind)
#857369
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c7c15;
/* rgb */ color: rgb(124, 124, 21);
/* oklch */ color: oklch(56.8% 0.117 109.6);
Tailwind
colors: {
  custom: {
    50: '#a5a15e',
    500: '#7c7c15',
    950: '#000000',
  },
}
SCSS
$custom: #7c7c15;
$custom-light: #a5a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7c15",
  "rgb": {
    "r": 124,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 60,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.56826,
    "c": 0.11682,
    "h": 109.6
  },
  "luminance": 0.18755
}

Semantic roles & 50–950 ramp

primary
#7C7C15
secondary
#3C3CB1
accent
#3AEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7C15

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

Preview Lab → · Contrast checker → · Palette generator →

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