#7C7D1A#7C7D1A

#7C7D1A is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.115 H 110.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7C7D1A
RGBrgb(124, 125, 26)
HSLhsl(61, 66%, 30%)
HSVhsv(61, 79%, 49%)
CMYKcmyk(0.8%, 0%, 79.2%, 51%)
CIE-LABlab(50.72, -12.47, 49.58)
CIE-LCHlch(50.72, 51.13, 104.12°)
OKLaboklab(57.09% -0.0397 0.1083)
OKLCHoklch(57.09% 0.115 110.2)
XYZxyz(15.8328, 19.0274, 3.8157)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C7D1A #1B1A7D
analogous
#7D4D1A #7C7D1A #4B7D1A
triadic
#7C7D1A #1A7C7D #7D1A7C
tetradic
#7C7D1A #1A7D4D #1B1A7D #7D1A4B
square
#7C7D1A #1A7D4D #1B1A7D #7D1A4B
split-complementary
#7C7D1A #1A4B7D #4D1A7D
monochromatic
#191905 #4A4A0F #7C7D1A #AEB025 #D5D63B

Accessibility & contrast

On white

4.37
#7C7D1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7C7D1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C7D1A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C7D1A#FFFFFF#000000##000000
##7C7D1A1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887701
Deuteranopia (green-blind)
#897A23
Tritanopia (blue-blind)
#85756B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7c7d1a;
/* rgb */ color: rgb(124, 125, 26);
/* oklch */ color: oklch(57.1% 0.115 110.2);
Tailwind
colors: {
  custom: {
    50: '#a5a260',
    500: '#7c7d1a',
    950: '#000000',
  },
}
SCSS
$custom: #7c7d1a;
$custom-light: #a5a260;
$custom-dark: #000000;
JSON
{
  "hex": "#7c7d1a",
  "rgb": {
    "r": 124,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 60.606,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.57089,
    "c": 0.11536,
    "h": 110.2
  },
  "luminance": 0.19027
}

Semantic roles & 50–950 ramp

primary
#7C7D1A
secondary
#4342B1
accent
#3FE941
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7C7D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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