#7E712D#7E712D

#7E712D is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.089 H 98.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7E712D
RGBrgb(126, 113, 45)
HSLhsl(50, 47%, 34%)
HSVhsv(50, 64%, 49%)
CMYKcmyk(0%, 10.3%, 64.3%, 50.6%)
CIE-LABlab(47.54, -3.78, 38.58)
CIE-LCHlch(47.54, 38.77, 95.60°)
OKLaboklab(54.65% -0.0132 0.0884)
OKLCHoklch(54.65% 0.089 98.5)
XYZxyz(14.9836, 16.4360, 4.8653)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E712D #2D3A7E
analogous
#7E482D #7E712D #627E2D
triadic
#7E712D #2D7E71 #712D7E
tetradic
#7E712D #2D7E48 #2D3A7E #7E2D62
square
#7E712D #2D7E48 #2D3A7E #7E2D62
split-complementary
#7E712D #2D627E #482D7E
monochromatic
#24200D #51491D #7E712D #AB993D #C6B65F

Accessibility & contrast

On white

4.90
#7E712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7E712D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E712D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E712D#FFFFFF#000000##FFFFFF
##7E712D1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E25
Deuteranopia (green-blind)
#7F7330
Tritanopia (blue-blind)
#886962
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e712d;
/* rgb */ color: rgb(126, 113, 45);
/* oklch */ color: oklch(54.6% 0.089 98.5);
Tailwind
colors: {
  custom: {
    50: '#a69969',
    500: '#7e712d',
    950: '#000000',
  },
}
SCSS
$custom: #7e712d;
$custom-light: #a69969;
$custom-dark: #000000;
JSON
{
  "hex": "#7e712d",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 50.37,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54649,
    "c": 0.08937,
    "h": 98.5
  },
  "luminance": 0.16435
}

Semantic roles & 50–950 ramp

primary
#7E712D
secondary
#5A68AC
accent
#66D751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7E712D

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

Preview Lab → · Contrast checker → · Palette generator →

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