#7E7111#7E7111

#7E7111 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.4% C 0.108 H 100.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7E7111
RGBrgb(126, 113, 17)
HSLhsl(53, 76%, 28%)
HSVhsv(53, 87%, 49%)
CMYKcmyk(0%, 10.3%, 86.5%, 50.6%)
CIE-LABlab(47.35, -5.21, 49.47)
CIE-LCHlch(47.35, 49.74, 96.01°)
OKLaboklab(54.44% -0.0203 0.1061)
OKLCHoklch(54.44% 0.108 100.8)
XYZxyz(14.6112, 16.2871, 2.9043)
Luminance0.1629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7111 #111E7E
analogous
#7E3A11 #7E7111 #547E11
triadic
#7E7111 #117E71 #71117E
tetradic
#7E7111 #117E3A #111E7E #7E1154
square
#7E7111 #117E3A #111E7E #7E1154
split-complementary
#7E7111 #11547E #3A117E
monochromatic
#1B1804 #48410A #7E7111 #B4A118 #E2CC27

Accessibility & contrast

On white

4.93
#7E7111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7E7111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7111
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7111#FFFFFF#000000##FFFFFF
##7E71111.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6D00
Deuteranopia (green-blind)
#80721A
Tritanopia (blue-blind)
#896860
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e7111;
/* rgb */ color: rgb(126, 113, 17);
/* oklch */ color: oklch(54.4% 0.108 100.8);
Tailwind
colors: {
  custom: {
    50: '#a7995a',
    500: '#7e7111',
    950: '#000000',
  },
}
SCSS
$custom: #7e7111;
$custom-light: #a7995a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7111",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 52.844,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.54435,
    "c": 0.10805,
    "h": 100.8
  },
  "luminance": 0.16286
}

Semantic roles & 50–950 ramp

primary
#7E7111
secondary
#3746B4
accent
#4CF335
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E7111

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

Preview Lab → · Contrast checker → · Palette generator →

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