#7E6E13#7E6E13

#7E6E13 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.8% C 0.105 H 98.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7E6E13
RGBrgb(126, 110, 19)
HSLhsl(51, 74%, 28%)
HSVhsv(51, 85%, 49%)
CMYKcmyk(0%, 12.7%, 84.9%, 50.6%)
CIE-LABlab(46.49, -3.44, 48.15)
CIE-LCHlch(46.49, 48.27, 94.09°)
OKLaboklab(53.76% -0.0152 0.1037)
OKLCHoklch(53.76% 0.105 98.3)
XYZxyz(14.2984, 15.6353, 2.8807)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6E13 #13237E
analogous
#7E3813 #7E6E13 #587E13
triadic
#7E6E13 #137E6E #6E137E
tetradic
#7E6E13 #137E38 #13237E #7E1358
square
#7E6E13 #137E38 #13237E #7E1358
split-complementary
#7E6E13 #13587E #38137E
monochromatic
#1B1704 #49400B #7E6E13 #B39C1B #DFC42C

Accessibility & contrast

On white

5.09
#7E6E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7E6E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6E13
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6E13#FFFFFF#000000##FFFFFF
##7E6E131.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7E711A
Tritanopia (blue-blind)
#89655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e6e13;
/* rgb */ color: rgb(126, 110, 19);
/* oklch */ color: oklch(53.8% 0.105 98.3);
Tailwind
colors: {
  custom: {
    50: '#a7975b',
    500: '#7e6e13',
    950: '#000000',
  },
}
SCSS
$custom: #7e6e13;
$custom-light: #a7975b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6e13",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 19
  },
  "hsl": {
    "h": 51.028,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53758,
    "c": 0.10478,
    "h": 98.3
  },
  "luminance": 0.15634
}

Semantic roles & 50–950 ramp

primary
#7E6E13
secondary
#394CB4
accent
#53F037
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6E13

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

Preview Lab → · Contrast checker → · Palette generator →

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