#7E6B16#7E6B16

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

Color values

HEX#7E6B16
RGBrgb(126, 107, 22)
HSLhsl(49, 70%, 29%)
HSVhsv(49, 83%, 49%)
CMYKcmyk(0%, 15.1%, 82.5%, 50.6%)
CIE-LABlab(45.65, -1.62, 46.44)
CIE-LCHlch(45.65, 46.46, 91.99°)
OKLaboklab(53.09% -0.0098 0.1006)
OKLCHoklch(53.09% 0.101 95.5)
XYZxyz(14.0075, 15.0097, 2.9183)
Luminance0.1501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6B16 #16297E
analogous
#7E3716 #7E6B16 #5D7E16
triadic
#7E6B16 #167E6B #6B167E
tetradic
#7E6B16 #167E37 #16297E #7E165D
square
#7E6B16 #167E37 #16297E #7E165D
split-complementary
#7E6B16 #165D7E #37167E
monochromatic
#1A1605 #4A3F0D #7E6B16 #B2971F #DBBD33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6B16#FFFFFF#000000##FFFFFF
##7E6B161.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)
#776902
Deuteranopia (green-blind)
#7C6F1C
Tritanopia (blue-blind)
#89625B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e6b16;
/* rgb */ color: rgb(126, 107, 22);
/* oklch */ color: oklch(53.1% 0.101 95.5);
Tailwind
colors: {
  custom: {
    50: '#a7955c',
    500: '#7e6b16',
    950: '#000000',
  },
}
SCSS
$custom: #7e6b16;
$custom-light: #a7955c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6b16",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 49.038,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53094,
    "c": 0.10109,
    "h": 95.5
  },
  "luminance": 0.15009
}

Semantic roles & 50–950 ramp

primary
#7E6B16
secondary
#3D52B3
accent
#5BED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6B16

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

Preview Lab → · Contrast checker → · Palette generator →

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