#7E6911#7E6911

#7E6911 is a mid, moderate yellow. Relative luminance 0.146; OKLCH L 52.6% C 0.102 H 94.2°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7E6911
RGBrgb(126, 105, 17)
HSLhsl(48, 76%, 28%)
HSVhsv(48, 87%, 49%)
CMYKcmyk(0%, 16.7%, 86.5%, 50.6%)
CIE-LABlab(45.05, -0.64, 47.53)
CIE-LCHlch(45.05, 47.53, 90.77°)
OKLaboklab(52.62% -0.0074 0.1019)
OKLCHoklch(52.62% 0.102 94.2)
XYZxyz(13.7577, 14.5801, 2.6198)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6911 #11267E
analogous
#7E3211 #7E6911 #5D7E11
triadic
#7E6911 #117E69 #69117E
tetradic
#7E6911 #117E32 #11267E #7E115D
square
#7E6911 #117E32 #11267E #7E115D
split-complementary
#7E6911 #115D7E #32117E
monochromatic
#1B1604 #483C0A #7E6911 #B49618 #E2BE27

Accessibility & contrast

On white

5.36
#7E6911 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7E6911 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6911
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6911#FFFFFF#000000##FFFFFF
##7E69111.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#7B6D18
Tritanopia (blue-blind)
#896059
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e6911;
/* rgb */ color: rgb(126, 105, 17);
/* oklch */ color: oklch(52.6% 0.102 94.2);
Tailwind
colors: {
  custom: {
    50: '#a79359',
    500: '#7e6911',
    950: '#000000',
  },
}
SCSS
$custom: #7e6911;
$custom-light: #a79359;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6911",
  "rgb": {
    "r": 126,
    "g": 105,
    "b": 17
  },
  "hsl": {
    "h": 48.44,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52617,
    "c": 0.10215,
    "h": 94.2
  },
  "luminance": 0.14579
}

Semantic roles & 50–950 ramp

primary
#7E6911
secondary
#374FB4
accent
#5AF335
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6911

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

Preview Lab → · Contrast checker → · Palette generator →

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