#7C741C#7C741C

#7C741C 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#7C741C
RGBrgb(124, 116, 28)
HSLhsl(55, 63%, 30%)
HSVhsv(55, 77%, 49%)
CMYKcmyk(0%, 6.5%, 77.4%, 51.4%)
CIE-LABlab(48.08, -7.42, 46.45)
CIE-LCHlch(48.08, 47.04, 99.08°)
OKLaboklab(54.99% -0.0254 0.102)
OKLCHoklch(54.99% 0.105 104)
XYZxyz(14.7678, 16.8603, 3.5749)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C741C #1C247C
analogous
#7C441C #7C741C #547C1C
triadic
#7C741C #1C7C74 #741C7C
tetradic
#7C741C #1C7C44 #1C247C #7C1C54
square
#7C741C #1C7C44 #1C247C #7C1C54
split-complementary
#7C741C #1C547C #441C7C
monochromatic
#191706 #4A4511 #7C741C #AEA327 #D4C73F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C741C#FFFFFF#000000##FFFFFF
##7C741C1.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)
#7F700A
Deuteranopia (green-blind)
#827422
Tritanopia (blue-blind)
#866B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7c741c;
/* rgb */ color: rgb(124, 116, 28);
/* oklch */ color: oklch(55.0% 0.105 104.0);
Tailwind
colors: {
  custom: {
    50: '#a59b60',
    500: '#7c741c',
    950: '#000000',
  },
}
SCSS
$custom: #7c741c;
$custom-light: #a59b60;
$custom-dark: #000000;
JSON
{
  "hex": "#7c741c",
  "rgb": {
    "r": 124,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 55,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54991,
    "c": 0.10514,
    "h": 104
  },
  "luminance": 0.1686
}

Semantic roles & 50–950 ramp

primary
#7C741C
secondary
#444DB0
accent
#4FE642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C741C

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

Preview Lab → · Contrast checker → · Palette generator →

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