#7E7110#7E7110

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

Color values

HEX#7E7110
RGBrgb(126, 113, 16)
HSLhsl(53, 77%, 28%)
HSVhsv(53, 87%, 49%)
CMYKcmyk(0%, 10.3%, 87.3%, 50.6%)
CIE-LABlab(47.34, -5.24, 49.74)
CIE-LCHlch(47.34, 50.01, 96.01°)
OKLaboklab(54.43% -0.0205 0.1065)
OKLCHoklch(54.43% 0.108 100.9)
XYZxyz(14.6036, 16.2840, 2.8640)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7110 #101D7E
analogous
#7E3A10 #7E7110 #547E10
triadic
#7E7110 #107E71 #71107E
tetradic
#7E7110 #107E3A #101D7E #7E1054
square
#7E7110 #107E3A #101D7E #7E1054
split-complementary
#7E7110 #10547E #3A107E
monochromatic
#1B1803 #484009 #7E7110 #B4A217 #E3CD25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7110#FFFFFF#000000##FFFFFF
##7E71101.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)
#807219
Tritanopia (blue-blind)
#896860
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e7110;
/* rgb */ color: rgb(126, 113, 16);
/* oklch */ color: oklch(54.4% 0.108 100.9);
Tailwind
colors: {
  custom: {
    50: '#a7995a',
    500: '#7e7110',
    950: '#000000',
  },
}
SCSS
$custom: #7e7110;
$custom-light: #a7995a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7110",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 16
  },
  "hsl": {
    "h": 52.909,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.54431,
    "c": 0.10846,
    "h": 100.9
  },
  "luminance": 0.16283
}

Semantic roles & 50–950 ramp

primary
#7E7110
secondary
#3644B4
accent
#4BF434
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E7110

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

Preview Lab → · Contrast checker → · Palette generator →

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