#7E741A#7E741A

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

Color values

HEX#7E741A
RGBrgb(126, 116, 26)
HSLhsl(54, 66%, 30%)
HSVhsv(54, 79%, 49%)
CMYKcmyk(0%, 7.9%, 79.4%, 50.6%)
CIE-LABlab(48.26, -6.57, 47.41)
CIE-LCHlch(48.26, 47.86, 97.89°)
OKLaboklab(55.17% -0.0234 0.1036)
OKLCHoklch(55.17% 0.106 102.7)
XYZxyz(15.0367, 17.0016, 3.4667)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E741A #1A247E
analogous
#7E421A #7E741A #567E1A
triadic
#7E741A #1A7E74 #741A7E
tetradic
#7E741A #1A7E42 #1A247E #7E1A56
square
#7E741A #1A7E42 #1A247E #7E1A56
split-complementary
#7E741A #1A567E #421A7E
monochromatic
#191705 #4B4510 #7E741A #B1A324 #D7C73C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E741A#FFFFFF#000000##FFFFFF
##7E741A1.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)
#7F7005
Deuteranopia (green-blind)
#827521
Tritanopia (blue-blind)
#886B63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e741a;
/* rgb */ color: rgb(126, 116, 26);
/* oklch */ color: oklch(55.2% 0.106 102.7);
Tailwind
colors: {
  custom: {
    50: '#a79b5f',
    500: '#7e741a',
    950: '#000000',
  },
}
SCSS
$custom: #7e741a;
$custom-light: #a79b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e741a",
  "rgb": {
    "r": 126,
    "g": 116,
    "b": 26
  },
  "hsl": {
    "h": 54,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55174,
    "c": 0.10616,
    "h": 102.7
  },
  "luminance": 0.17001
}

Semantic roles & 50–950 ramp

primary
#7E741A
secondary
#424DB2
accent
#50E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E741A

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

Preview Lab → · Contrast checker → · Palette generator →

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