#7E6E16#7E6E16

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

Color values

HEX#7E6E16
RGBrgb(126, 110, 22)
HSLhsl(51, 70%, 29%)
HSVhsv(51, 83%, 49%)
CMYKcmyk(0%, 12.7%, 82.5%, 50.6%)
CIE-LABlab(46.51, -3.34, 47.20)
CIE-LCHlch(46.51, 47.32, 94.04°)
OKLaboklab(53.77% -0.0146 0.1023)
OKLCHoklch(53.77% 0.103 98.1)
XYZxyz(14.3257, 15.6462, 3.0243)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6E16 #16267E
analogous
#7E3A16 #7E6E16 #5A7E16
triadic
#7E6E16 #167E6E #6E167E
tetradic
#7E6E16 #167E3A #16267E #7E165A
square
#7E6E16 #167E3A #16267E #7E165A
split-complementary
#7E6E16 #165A7E #3A167E
monochromatic
#1A1705 #4A410D #7E6E16 #B29B1F #DBC133

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7e6e16;
/* rgb */ color: rgb(126, 110, 22);
/* oklch */ color: oklch(53.8% 0.103 98.1);
Tailwind
colors: {
  custom: {
    50: '#a7975c',
    500: '#7e6e16',
    950: '#000000',
  },
}
SCSS
$custom: #7e6e16;
$custom-light: #a7975c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6e16",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 22
  },
  "hsl": {
    "h": 50.769,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53774,
    "c": 0.10331,
    "h": 98.1
  },
  "luminance": 0.15645
}

Semantic roles & 50–950 ramp

primary
#7E6E16
secondary
#3D4FB3
accent
#56ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6E16

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

Preview Lab → · Contrast checker → · Palette generator →

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