#7E741C#7E741C

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

Color values

HEX#7E741C
RGBrgb(126, 116, 28)
HSLhsl(54, 64%, 30%)
HSVhsv(54, 78%, 49%)
CMYKcmyk(0%, 7.9%, 77.8%, 50.6%)
CIE-LABlab(48.27, -6.48, 46.69)
CIE-LCHlch(48.27, 47.14, 97.90°)
OKLaboklab(55.19% -0.0229 0.1025)
OKLCHoklch(55.19% 0.105 102.6)
XYZxyz(15.0599, 17.0109, 3.5886)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E741C #1C267E
analogous
#7E431C #7E741C #577E1C
triadic
#7E741C #1C7E74 #741C7E
tetradic
#7E741C #1C7E43 #1C267E #7E1C57
square
#7E741C #1C7E43 #1C267E #7E1C57
split-complementary
#7E741C #1C577E #431C7E
monochromatic
#1A1806 #4C4611 #7E741C #B0A227 #D5C540

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E741C#FFFFFF#000000##FFFFFF
##7E741C1.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)
#7F700A
Deuteranopia (green-blind)
#827522
Tritanopia (blue-blind)
#886B63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e741c;
/* rgb */ color: rgb(126, 116, 28);
/* oklch */ color: oklch(55.2% 0.105 102.6);
Tailwind
colors: {
  custom: {
    50: '#a79b60',
    500: '#7e741c',
    950: '#000000',
  },
}
SCSS
$custom: #7e741c;
$custom-light: #a79b60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e741c",
  "rgb": {
    "r": 126,
    "g": 116,
    "b": 28
  },
  "hsl": {
    "h": 53.878,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55187,
    "c": 0.10498,
    "h": 102.6
  },
  "luminance": 0.1701
}

Semantic roles & 50–950 ramp

primary
#7E741C
secondary
#444FB2
accent
#52E741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E741C

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

Preview Lab → · Contrast checker → · Palette generator →

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