#7C741B#7C741B

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

Color values

HEX#7C741B
RGBrgb(124, 116, 27)
HSLhsl(55, 64%, 30%)
HSVhsv(55, 78%, 49%)
CMYKcmyk(0%, 6.5%, 78.2%, 51.4%)
CIE-LABlab(48.08, -7.47, 46.81)
CIE-LCHlch(48.08, 47.40, 99.06°)
OKLaboklab(54.98% -0.0257 0.1026)
OKLCHoklch(54.98% 0.106 104)
XYZxyz(14.7561, 16.8556, 3.5129)
Luminance0.1686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C741B #1B237C
analogous
#7C441B #7C741B #537C1B
triadic
#7C741B #1B7C74 #741B7C
tetradic
#7C741B #1B7C44 #1B237C #7C1B53
square
#7C741B #1B7C44 #1B237C #7C1B53
split-complementary
#7C741B #1B537C #441B7C
monochromatic
#191805 #4A4510 #7C741B #AEA326 #D5C83D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7c741b;
/* rgb */ color: rgb(124, 116, 27);
/* oklch */ color: oklch(55.0% 0.106 104.0);
Tailwind
colors: {
  custom: {
    50: '#a59b5f',
    500: '#7c741b',
    950: '#000000',
  },
}
SCSS
$custom: #7c741b;
$custom-light: #a59b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c741b",
  "rgb": {
    "r": 124,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 55.052,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54984,
    "c": 0.10574,
    "h": 104
  },
  "luminance": 0.16855
}

Semantic roles & 50–950 ramp

primary
#7C741B
secondary
#434CB0
accent
#4EE741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7C741B

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

Preview Lab → · Contrast checker → · Palette generator →

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