#7E6311#7E6311

#7E6311 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 51.3% C 0.099 H 88.6°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7E6311
RGBrgb(126, 99, 17)
HSLhsl(45, 76%, 28%)
HSVhsv(45, 87%, 49%)
CMYKcmyk(0%, 21.4%, 86.5%, 50.6%)
CIE-LABlab(43.36, 2.85, 46.09)
CIE-LCHlch(43.36, 46.18, 86.46°)
OKLaboklab(51.28% 0.0025 0.0987)
OKLCHoklch(51.28% 0.099 88.6)
XYZxyz(13.1680, 13.4007, 2.4232)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6311 #112C7E
analogous
#7E2D11 #7E6311 #627E11
triadic
#7E6311 #117E63 #63117E
tetradic
#7E6311 #117E2D #112C7E #7E1162
square
#7E6311 #117E2D #112C7E #7E1162
split-complementary
#7E6311 #11627E #2D117E
monochromatic
#1B1504 #48390A #7E6311 #B48D18 #E2B427

Accessibility & contrast

On white

5.71
#7E6311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7E6311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6311
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6311#FFFFFF#000000##FFFFFF
##7E63111.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#766917
Tritanopia (blue-blind)
#895954
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7e6311;
/* rgb */ color: rgb(126, 99, 17);
/* oklch */ color: oklch(51.3% 0.099 88.6);
Tailwind
colors: {
  custom: {
    50: '#a88f58',
    500: '#7e6311',
    950: '#000000',
  },
}
SCSS
$custom: #7e6311;
$custom-light: #a88f58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6311",
  "rgb": {
    "r": 126,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 45.138,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.09876,
    "h": 88.6
  },
  "luminance": 0.134
}

Semantic roles & 50–950 ramp

primary
#7E6311
secondary
#3756B4
accent
#64F335
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6311

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

Preview Lab → · Contrast checker → · Palette generator →

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