#7E6F14#7E6F14

#7E6F14 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.0% C 0.105 H 99.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7E6F14
RGBrgb(126, 111, 20)
HSLhsl(52, 73%, 29%)
HSVhsv(52, 84%, 49%)
CMYKcmyk(0%, 11.9%, 84.1%, 50.6%)
CIE-LABlab(46.78, -3.98, 48.09)
CIE-LCHlch(46.78, 48.26, 94.73°)
OKLaboklab(53.99% -0.0166 0.1038)
OKLCHoklch(53.99% 0.105 99.1)
XYZxyz(14.4156, 15.8557, 2.9628)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6F14 #14237E
analogous
#7E3A14 #7E6F14 #587E14
triadic
#7E6F14 #147E6F #6F147E
tetradic
#7E6F14 #147E3A #14237E #7E1458
square
#7E6F14 #147E3A #14237E #7E1458
split-complementary
#7E6F14 #14587E #3A147E
monochromatic
#1A1704 #49400C #7E6F14 #B39E1C #DEC52E

Accessibility & contrast

On white

5.03
#7E6F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7E6F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6F14
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6F14#FFFFFF#000000##FFFFFF
##7E6F141.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7F711B
Tritanopia (blue-blind)
#89665E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e6f14;
/* rgb */ color: rgb(126, 111, 20);
/* oklch */ color: oklch(54.0% 0.105 99.1);
Tailwind
colors: {
  custom: {
    50: '#a7985b',
    500: '#7e6f14',
    950: '#000000',
  },
}
SCSS
$custom: #7e6f14;
$custom-light: #a7985b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6f14",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 20
  },
  "hsl": {
    "h": 51.509,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53991,
    "c": 0.10509,
    "h": 99.1
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

primary
#7E6F14
secondary
#3A4CB3
accent
#52EF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6F14

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

Preview Lab → · Contrast checker → · Palette generator →

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