#7E712F#7E712F

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

Color values

HEX#7E712F
RGBrgb(126, 113, 47)
HSLhsl(50, 46%, 34%)
HSVhsv(50, 63%, 49%)
CMYKcmyk(0%, 10.3%, 62.7%, 50.6%)
CIE-LABlab(47.56, -3.63, 37.62)
CIE-LCHlch(47.56, 37.80, 95.52°)
OKLaboklab(54.67% -0.0125 0.0866)
OKLCHoklch(54.67% 0.088 98.2)
XYZxyz(15.0230, 16.4518, 5.0730)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E712F #2F3C7E
analogous
#7E4A2F #7E712F #647E2F
triadic
#7E712F #2F7E71 #712F7E
tetradic
#7E712F #2F7E4A #2F3C7E #7E2F64
square
#7E712F #2F7E4A #2F3C7E #7E2F64
split-complementary
#7E712F #2F647E #4A2F7E
monochromatic
#25210E #51491E #7E712F #AB9940 #C5B563

Accessibility & contrast

On white

4.89
#7E712F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E712F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E712F#FFFFFF#000000##FFFFFF
##7E712F1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E28
Deuteranopia (green-blind)
#7F7332
Tritanopia (blue-blind)
#876963
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e712f;
/* rgb */ color: rgb(126, 113, 47);
/* oklch */ color: oklch(54.7% 0.088 98.2);
Tailwind
colors: {
  custom: {
    50: '#a6996a',
    500: '#7e712f',
    950: '#000000',
  },
}
SCSS
$custom: #7e712f;
$custom-light: #a6996a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e712f",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 50.127,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54672,
    "c": 0.08754,
    "h": 98.2
  },
  "luminance": 0.16451
}

Semantic roles & 50–950 ramp

primary
#7E712F
secondary
#5D6AAC
accent
#68D552
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D07
muted
#7F7E7A

Preview Lab

Preview with #7E712F

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

Preview Lab → · Contrast checker → · Palette generator →

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