#7E6E14#7E6E14

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

Color values

HEX#7E6E14
RGBrgb(126, 110, 20)
HSLhsl(51, 73%, 29%)
HSVhsv(51, 84%, 49%)
CMYKcmyk(0%, 12.7%, 84.1%, 50.6%)
CIE-LABlab(46.50, -3.41, 47.84)
CIE-LCHlch(46.50, 47.96, 94.07°)
OKLaboklab(53.76% -0.015 0.1032)
OKLCHoklch(53.76% 0.104 98.3)
XYZxyz(14.3071, 15.6387, 2.9267)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6E14 #14247E
analogous
#7E3914 #7E6E14 #597E14
triadic
#7E6E14 #147E6E #6E147E
tetradic
#7E6E14 #147E39 #14247E #7E1459
square
#7E6E14 #147E39 #14247E #7E1459
split-complementary
#7E6E14 #14597E #39147E
monochromatic
#1A1704 #49400C #7E6E14 #B39C1C #DEC32E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6E14#FFFFFF#000000##FFFFFF
##7E6E141.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)
#7E711B
Tritanopia (blue-blind)
#89655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e6e14;
/* rgb */ color: rgb(126, 110, 20);
/* oklch */ color: oklch(53.8% 0.104 98.3);
Tailwind
colors: {
  custom: {
    50: '#a7975b',
    500: '#7e6e14',
    950: '#000000',
  },
}
SCSS
$custom: #7e6e14;
$custom-light: #a7975b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6e14",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 20
  },
  "hsl": {
    "h": 50.943,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53763,
    "c": 0.10431,
    "h": 98.3
  },
  "luminance": 0.15638
}

Semantic roles & 50–950 ramp

primary
#7E6E14
secondary
#3A4DB3
accent
#54EF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6E14

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

Preview Lab → · Contrast checker → · Palette generator →

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