#7E6E1F#7E6E1F

#7E6E1F is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.098 H 97.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7E6E1F
RGBrgb(126, 110, 31)
HSLhsl(50, 61%, 31%)
HSVhsv(50, 75%, 49%)
CMYKcmyk(0%, 12.7%, 75.4%, 50.6%)
CIE-LABlab(46.56, -2.94, 43.89)
CIE-LCHlch(46.56, 43.99, 93.83°)
OKLaboklab(53.84% -0.0125 0.0971)
OKLCHoklch(53.84% 0.098 97.4)
XYZxyz(14.4282, 15.6872, 3.5640)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6E1F #1F2F7E
analogous
#7E3E1F #7E6E1F #5E7E1F
triadic
#7E6E1F #1F7E6E #6E1F7E
tetradic
#7E6E1F #1F7E3E #1F2F7E #7E1F5E
square
#7E6E1F #1F7E3E #1F2F7E #7E1F5E
split-complementary
#7E6E1F #1F5E7E #3E1F7E
monochromatic
#1C1807 #4D4313 #7E6E1F #AF992B #D1BA46

Accessibility & contrast

On white

5.08
#7E6E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7E6E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6E1F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6E1F#FFFFFF#000000##FFFFFF
##7E6E1F1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B12
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#88655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e6e1f;
/* rgb */ color: rgb(126, 110, 31);
/* oklch */ color: oklch(53.8% 0.098 97.4);
Tailwind
colors: {
  custom: {
    50: '#a79760',
    500: '#7e6e1f',
    950: '#000000',
  },
}
SCSS
$custom: #7e6e1f;
$custom-light: #a79760;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6e1f",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 49.895,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53835,
    "c": 0.09793,
    "h": 97.4
  },
  "luminance": 0.15686
}

Semantic roles & 50–950 ramp

primary
#7E6E1F
secondary
#4859B1
accent
#5FE444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E6E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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