#7E6B13#7E6B13

#7E6B13 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 53.1% C 0.103 H 95.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7E6B13
RGBrgb(126, 107, 19)
HSLhsl(49, 74%, 28%)
HSVhsv(49, 85%, 49%)
CMYKcmyk(0%, 15.1%, 84.9%, 50.6%)
CIE-LABlab(45.63, -1.72, 47.41)
CIE-LCHlch(45.63, 47.44, 92.08°)
OKLaboklab(53.08% -0.0103 0.1021)
OKLCHoklch(53.08% 0.103 95.8)
XYZxyz(13.9802, 14.9988, 2.7747)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6B13 #13267E
analogous
#7E3513 #7E6B13 #5B7E13
triadic
#7E6B13 #137E6B #6B137E
tetradic
#7E6B13 #137E35 #13267E #7E135B
square
#7E6B13 #137E35 #13267E #7E135B
split-complementary
#7E6B13 #135B7E #35137E
monochromatic
#1B1704 #493E0B #7E6B13 #B3981B #DFBF2C

Accessibility & contrast

On white

5.25
#7E6B13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7E6B13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6B13
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6B13#FFFFFF#000000##FFFFFF
##7E6B131.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#7C6F1A
Tritanopia (blue-blind)
#89625B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e6b13;
/* rgb */ color: rgb(126, 107, 19);
/* oklch */ color: oklch(53.1% 0.103 95.8);
Tailwind
colors: {
  custom: {
    50: '#a7955a',
    500: '#7e6b13',
    950: '#000000',
  },
}
SCSS
$custom: #7e6b13;
$custom-light: #a7955a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6b13",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 19
  },
  "hsl": {
    "h": 49.346,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.10258,
    "h": 95.8
  },
  "luminance": 0.14998
}

Semantic roles & 50–950 ramp

primary
#7E6B13
secondary
#394FB4
accent
#58F037
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6B13

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

Preview Lab → · Contrast checker → · Palette generator →

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