#7E741D#7E741D

#7E741D is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.2% C 0.104 H 102.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7E741D
RGBrgb(126, 116, 29)
HSLhsl(54, 63%, 30%)
HSVhsv(54, 77%, 49%)
CMYKcmyk(0%, 7.9%, 77%, 50.6%)
CIE-LABlab(48.28, -6.44, 46.32)
CIE-LCHlch(48.28, 46.77, 97.91°)
OKLaboklab(55.19% -0.0227 0.1019)
OKLCHoklch(55.19% 0.104 102.5)
XYZxyz(15.0720, 17.0158, 3.6526)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E741D #1D277E
analogous
#7E431D #7E741D #587E1D
triadic
#7E741D #1D7E74 #741D7E
tetradic
#7E741D #1D7E43 #1D277E #7E1D58
square
#7E741D #1D7E43 #1D277E #7E1D58
split-complementary
#7E741D #1D587E #431D7E
monochromatic
#1B1806 #4C4612 #7E741D #B0A228 #D3C442

Accessibility & contrast

On white

4.77
#7E741D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7E741D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E741D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E741D#FFFFFF#000000##FFFFFF
##7E741D1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700C
Deuteranopia (green-blind)
#827523
Tritanopia (blue-blind)
#886B63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e741d;
/* rgb */ color: rgb(126, 116, 29);
/* oklch */ color: oklch(55.2% 0.104 102.5);
Tailwind
colors: {
  custom: {
    50: '#a79b60',
    500: '#7e741d',
    950: '#000000',
  },
}
SCSS
$custom: #7e741d;
$custom-light: #a79b60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e741d",
  "rgb": {
    "r": 126,
    "g": 116,
    "b": 29
  },
  "hsl": {
    "h": 53.814,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55194,
    "c": 0.10437,
    "h": 102.5
  },
  "luminance": 0.17015
}

Semantic roles & 50–950 ramp

primary
#7E741D
secondary
#4550B1
accent
#53E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E741D

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

Preview Lab → · Contrast checker → · Palette generator →

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