#7C741A#7C741A

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

Color values

HEX#7C741A
RGBrgb(124, 116, 26)
HSLhsl(55, 65%, 29%)
HSVhsv(55, 79%, 49%)
CMYKcmyk(0%, 6.5%, 79%, 51.4%)
CIE-LABlab(48.07, -7.51, 47.16)
CIE-LCHlch(48.07, 47.76, 99.05°)
OKLaboklab(54.98% -0.0259 0.1031)
OKLCHoklch(54.98% 0.106 104.1)
XYZxyz(14.7447, 16.8511, 3.4530)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C741A #1A227C
analogous
#7C431A #7C741A #537C1A
triadic
#7C741A #1A7C74 #741A7C
tetradic
#7C741A #1A7C43 #1A227C #7C1A53
square
#7C741A #1A7C43 #1A227C #7C1A53
split-complementary
#7C741A #1A537C #431A7C
monochromatic
#191805 #49450F #7C741A #AFA325 #D6C93B

Accessibility & contrast

On white

4.81
#7C741A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C741A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C741A#FFFFFF#000000##FFFFFF
##7C741A1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#866B63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7c741a;
/* rgb */ color: rgb(124, 116, 26);
/* oklch */ color: oklch(55.0% 0.106 104.1);
Tailwind
colors: {
  custom: {
    50: '#a59b5f',
    500: '#7c741a',
    950: '#000000',
  },
}
SCSS
$custom: #7c741a;
$custom-light: #a59b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c741a",
  "rgb": {
    "r": 124,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 55.102,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54978,
    "c": 0.10633,
    "h": 104.1
  },
  "luminance": 0.1685
}

Semantic roles & 50–950 ramp

primary
#7C741A
secondary
#424BB0
accent
#4DE840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C741A

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

Preview Lab → · Contrast checker → · Palette generator →

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