#7E712B#7E712B

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

Color values

HEX#7E712B
RGBrgb(126, 113, 43)
HSLhsl(51, 49%, 33%)
HSVhsv(51, 66%, 49%)
CMYKcmyk(0%, 10.3%, 65.9%, 50.6%)
CIE-LABlab(47.52, -3.93, 39.53)
CIE-LCHlch(47.52, 39.72, 95.67°)
OKLaboklab(54.63% -0.0139 0.0901)
OKLCHoklch(54.63% 0.091 98.8)
XYZxyz(14.9460, 16.4210, 4.6673)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E712B #2B387E
analogous
#7E472B #7E712B #617E2B
triadic
#7E712B #2B7E71 #712B7E
tetradic
#7E712B #2B7E47 #2B387E #7E2B61
square
#7E712B #2B7E47 #2B387E #7E2B61
split-complementary
#7E712B #2B617E #472B7E
monochromatic
#231F0C #50481B #7E712B #AC9A3B #C7B75C

Accessibility & contrast

On white

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

On black

4.28
#7E712B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E712B#FFFFFF#000000##FFFFFF
##7E712B1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e712b;
/* rgb */ color: rgb(126, 113, 43);
/* oklch */ color: oklch(54.6% 0.091 98.8);
Tailwind
colors: {
  custom: {
    50: '#a69968',
    500: '#7e712b',
    950: '#000000',
  },
}
SCSS
$custom: #7e712b;
$custom-light: #a69968;
$custom-dark: #000000;
JSON
{
  "hex": "#7e712b",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 43
  },
  "hsl": {
    "h": 50.602,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.54628,
    "c": 0.09114,
    "h": 98.8
  },
  "luminance": 0.1642
}

Semantic roles & 50–950 ramp

primary
#7E712B
secondary
#5865AD
accent
#65D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A

Preview Lab

Preview with #7E712B

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

Preview Lab → · Contrast checker → · Palette generator →

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