#7E6B14#7E6B14

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

Color values

HEX#7E6B14
RGBrgb(126, 107, 20)
HSLhsl(49, 73%, 29%)
HSVhsv(49, 84%, 49%)
CMYKcmyk(0%, 15.1%, 84.1%, 50.6%)
CIE-LABlab(45.64, -1.69, 47.09)
CIE-LCHlch(45.64, 47.12, 92.05°)
OKLaboklab(53.08% -0.0102 0.1016)
OKLCHoklch(53.08% 0.102 95.7)
XYZxyz(13.9889, 15.0023, 2.8206)
Luminance0.1500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6B14 #14277E
analogous
#7E3614 #7E6B14 #5C7E14
triadic
#7E6B14 #147E6B #6B147E
tetradic
#7E6B14 #147E36 #14277E #7E145C
square
#7E6B14 #147E36 #14277E #7E145C
split-complementary
#7E6B14 #145C7E #36147E
monochromatic
#1A1604 #493E0C #7E6B14 #B3981C #DEBE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6B14#FFFFFF#000000##FFFFFF
##7E6B141.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: #7e6b14;
/* rgb */ color: rgb(126, 107, 20);
/* oklch */ color: oklch(53.1% 0.102 95.7);
Tailwind
colors: {
  custom: {
    50: '#a7955b',
    500: '#7e6b14',
    950: '#000000',
  },
}
SCSS
$custom: #7e6b14;
$custom-light: #a7955b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6b14",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 20
  },
  "hsl": {
    "h": 49.245,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53083,
    "c": 0.10211,
    "h": 95.7
  },
  "luminance": 0.15002
}

Semantic roles & 50–950 ramp

primary
#7E6B14
secondary
#3A50B3
accent
#59EF38
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6B14

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

Preview Lab → · Contrast checker → · Palette generator →

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