#7C741D#7C741D

#7C741D is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.0% C 0.105 H 104.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7C741D
RGBrgb(124, 116, 29)
HSLhsl(55, 62%, 30%)
HSVhsv(55, 77%, 49%)
CMYKcmyk(0%, 6.5%, 76.6%, 51.4%)
CIE-LABlab(48.09, -7.37, 46.08)
CIE-LCHlch(48.09, 46.66, 99.09°)
OKLaboklab(55% -0.0252 0.1014)
OKLCHoklch(55% 0.105 104)
XYZxyz(14.7800, 16.8652, 3.6389)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C741D #1D257C
analogous
#7C441D #7C741D #557C1D
triadic
#7C741D #1D7C74 #741D7C
tetradic
#7C741D #1D7C44 #1D257C #7C1D55
square
#7C741D #1D7C44 #1D257C #7C1D55
split-complementary
#7C741D #1D557C #441D7C
monochromatic
#191706 #4A4611 #7C741D #AEA229 #D3C641

Accessibility & contrast

On white

4.80
#7C741D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#7C741D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C741D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C741D#FFFFFF#000000##FFFFFF
##7C741D1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700C
Deuteranopia (green-blind)
#827423
Tritanopia (blue-blind)
#866C63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7c741d;
/* rgb */ color: rgb(124, 116, 29);
/* oklch */ color: oklch(55.0% 0.105 104.0);
Tailwind
colors: {
  custom: {
    50: '#a59b60',
    500: '#7c741d',
    950: '#000000',
  },
}
SCSS
$custom: #7c741d;
$custom-light: #a59b60;
$custom-dark: #000000;
JSON
{
  "hex": "#7c741d",
  "rgb": {
    "r": 124,
    "g": 116,
    "b": 29
  },
  "hsl": {
    "h": 54.947,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.54997,
    "c": 0.10452,
    "h": 104
  },
  "luminance": 0.16865
}

Semantic roles & 50–950 ramp

primary
#7C741D
secondary
#454EB0
accent
#50E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C741D

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

Preview Lab → · Contrast checker → · Palette generator →

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