#7E6D16#7E6D16

#7E6D16 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.103 H 97.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7E6D16
RGBrgb(126, 109, 22)
HSLhsl(50, 70%, 29%)
HSVhsv(50, 83%, 49%)
CMYKcmyk(0%, 13.5%, 82.5%, 50.6%)
CIE-LABlab(46.22, -2.76, 46.95)
CIE-LCHlch(46.22, 47.03, 93.37°)
OKLaboklab(53.55% -0.013 0.1017)
OKLCHoklch(53.55% 0.103 97.3)
XYZxyz(14.2184, 15.4316, 2.9886)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6D16 #16277E
analogous
#7E3916 #7E6D16 #5B7E16
triadic
#7E6D16 #167E6D #6D167E
tetradic
#7E6D16 #167E39 #16277E #7E165B
square
#7E6D16 #167E39 #16277E #7E165B
split-complementary
#7E6D16 #165B7E #39167E
monochromatic
#1A1705 #4A400D #7E6D16 #B29A1F #DBC033

Accessibility & contrast

On white

5.14
#7E6D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7E6D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6D16
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6D16#FFFFFF#000000##FFFFFF
##7E6D161.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A01
Deuteranopia (green-blind)
#7D701C
Tritanopia (blue-blind)
#89645D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e6d16;
/* rgb */ color: rgb(126, 109, 22);
/* oklch */ color: oklch(53.5% 0.103 97.3);
Tailwind
colors: {
  custom: {
    50: '#a7965c',
    500: '#7e6d16',
    950: '#000000',
  },
}
SCSS
$custom: #7e6d16;
$custom-light: #a7965c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6d16",
  "rgb": {
    "r": 126,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 50.192,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53547,
    "c": 0.10255,
    "h": 97.3
  },
  "luminance": 0.15431
}

Semantic roles & 50–950 ramp

primary
#7E6D16
secondary
#3D50B3
accent
#58ED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6D16

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

Preview Lab → · Contrast checker → · Palette generator →

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