#7E6B11#7E6B11

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

Color values

HEX#7E6B11
RGBrgb(126, 107, 17)
HSLhsl(50, 76%, 28%)
HSVhsv(50, 87%, 49%)
CMYKcmyk(0%, 15.1%, 86.5%, 50.6%)
CIE-LABlab(45.62, -1.79, 48.01)
CIE-LCHlch(45.62, 48.04, 92.13°)
OKLaboklab(53.07% -0.0107 0.1029)
OKLCHoklch(53.07% 0.103 95.9)
XYZxyz(13.9638, 14.9923, 2.6885)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6B11 #11247E
analogous
#7E3411 #7E6B11 #5A7E11
triadic
#7E6B11 #117E6B #6B117E
tetradic
#7E6B11 #117E34 #11247E #7E115A
square
#7E6B11 #117E34 #11247E #7E115A
split-complementary
#7E6B11 #115A7E #34117E
monochromatic
#1B1704 #483D0A #7E6B11 #B49918 #E2C127

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6B11#FFFFFF#000000##FFFFFF
##7E6B111.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)
#776900
Deuteranopia (green-blind)
#7C6F18
Tritanopia (blue-blind)
#89625B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e6b11;
/* rgb */ color: rgb(126, 107, 17);
/* oklch */ color: oklch(53.1% 0.103 95.9);
Tailwind
colors: {
  custom: {
    50: '#a7955a',
    500: '#7e6b11',
    950: '#000000',
  },
}
SCSS
$custom: #7e6b11;
$custom-light: #a7955a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6b11",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 17
  },
  "hsl": {
    "h": 49.541,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53067,
    "c": 0.10348,
    "h": 95.9
  },
  "luminance": 0.14991
}

Semantic roles & 50–950 ramp

primary
#7E6B11
secondary
#374DB4
accent
#56F335
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6B11

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

Preview Lab → · Contrast checker → · Palette generator →

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