#7C7C1B#7C7C1B

#7C7C1B is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 56.9% C 0.114 H 109.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7C7C1B
RGBrgb(124, 124, 27)
HSLhsl(60, 64%, 30%)
HSVhsv(60, 78%, 49%)
CMYKcmyk(0%, 0%, 78.2%, 51.4%)
CIE-LABlab(50.43, -11.88, 48.98)
CIE-LCHlch(50.43, 50.40, 103.64°)
OKLaboklab(56.86% -0.038 0.1072)
OKLCHoklch(56.86% 0.114 109.5)
XYZxyz(15.7182, 18.7800, 3.8336)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7C1B #1B1B7C
analogous
#7C4C1B #7C7C1B #4C7C1B
triadic
#7C7C1B #1B7C7C #7C1B7C
tetradic
#7C7C1B #1B7C4C #1B1B7C #7C1B4C
square
#7C7C1B #1B7C4C #1B1B7C #7C1B4C
split-complementary
#7C7C1B #1B4C7C #4C1B7C
monochromatic
#191905 #4A4A10 #7C7C1B #AEAE26 #D5D53D

Accessibility & contrast

On white

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

On black

4.76
#7C7C1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7C1B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7C1B#FFFFFF#000000##000000
##7C7C1B1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#877603
Deuteranopia (green-blind)
#887923
Tritanopia (blue-blind)
#85746A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c7c1b;
/* rgb */ color: rgb(124, 124, 27);
/* oklch */ color: oklch(56.9% 0.114 109.5);
Tailwind
colors: {
  custom: {
    50: '#a5a160',
    500: '#7c7c1b',
    950: '#000000',
  },
}
SCSS
$custom: #7c7c1b;
$custom-light: #a5a160;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7c1b",
  "rgb": {
    "r": 124,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 60,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56859,
    "c": 0.11375,
    "h": 109.5
  },
  "luminance": 0.1878
}

Semantic roles & 50–950 ramp

primary
#7C7C1B
secondary
#4343B0
accent
#41E741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C7C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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