#7E741E#7E741E

#7E741E 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#7E741E
RGBrgb(126, 116, 30)
HSLhsl(54, 62%, 31%)
HSVhsv(54, 76%, 49%)
CMYKcmyk(0%, 7.9%, 76.2%, 50.6%)
CIE-LABlab(48.29, -6.39, 45.95)
CIE-LCHlch(48.29, 46.39, 97.91°)
OKLaboklab(55.2% -0.0224 0.1013)
OKLCHoklch(55.2% 0.104 102.5)
XYZxyz(15.0846, 17.0208, 3.7188)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E741E #1E287E
analogous
#7E441E #7E741E #587E1E
triadic
#7E741E #1E7E74 #741E7E
tetradic
#7E741E #1E7E44 #1E287E #7E1E58
square
#7E741E #1E7E44 #1E287E #7E1E58
split-complementary
#7E741E #1E587E #441E7E
monochromatic
#1B1906 #4D4612 #7E741E #AFA22A #D2C444

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E741E#FFFFFF#000000##FFFFFF
##7E741E1.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)
#7F700E
Deuteranopia (green-blind)
#827524
Tritanopia (blue-blind)
#886B63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e741e;
/* rgb */ color: rgb(126, 116, 30);
/* oklch */ color: oklch(55.2% 0.104 102.5);
Tailwind
colors: {
  custom: {
    50: '#a79b61',
    500: '#7e741e',
    950: '#000000',
  },
}
SCSS
$custom: #7e741e;
$custom-light: #a79b61;
$custom-dark: #000000;
JSON
{
  "hex": "#7e741e",
  "rgb": {
    "r": 126,
    "g": 116,
    "b": 30
  },
  "hsl": {
    "h": 53.75,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55201,
    "c": 0.10373,
    "h": 102.5
  },
  "luminance": 0.1702
}

Semantic roles & 50–950 ramp

primary
#7E741E
secondary
#4752B1
accent
#54E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E741E

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

Preview Lab → · Contrast checker → · Palette generator →

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