#7E712E#7E712E

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

Color values

HEX#7E712E
RGBrgb(126, 113, 46)
HSLhsl(50, 47%, 34%)
HSVhsv(50, 63%, 49%)
CMYKcmyk(0%, 10.3%, 63.5%, 50.6%)
CIE-LABlab(47.55, -3.71, 38.11)
CIE-LCHlch(47.55, 38.29, 95.56°)
OKLaboklab(54.66% -0.0129 0.0875)
OKLCHoklch(54.66% 0.088 98.4)
XYZxyz(15.0031, 16.4438, 4.9679)
Luminance0.1644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E712E #2E3B7E
analogous
#7E492E #7E712E #637E2E
triadic
#7E712E #2E7E71 #712E7E
tetradic
#7E712E #2E7E49 #2E3B7E #7E2E63
square
#7E712E #2E7E49 #2E3B7E #7E2E63
split-complementary
#7E712E #2E637E #492E7E
monochromatic
#24210D #51491E #7E712E #AB993E #C5B561

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E712E#FFFFFF#000000##FFFFFF
##7E712E1.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)
#7C6E27
Deuteranopia (green-blind)
#7F7331
Tritanopia (blue-blind)
#886963
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e712e;
/* rgb */ color: rgb(126, 113, 46);
/* oklch */ color: oklch(54.7% 0.088 98.4);
Tailwind
colors: {
  custom: {
    50: '#a6996a',
    500: '#7e712e',
    950: '#000000',
  },
}
SCSS
$custom: #7e712e;
$custom-light: #a6996a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e712e",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 46
  },
  "hsl": {
    "h": 50.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5466,
    "c": 0.08846,
    "h": 98.4
  },
  "luminance": 0.16443
}

Semantic roles & 50–950 ramp

primary
#7E712E
secondary
#5C69AC
accent
#67D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7E712E

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

Preview Lab → · Contrast checker → · Palette generator →

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