#7E7116#7E7116

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

Color values

HEX#7E7116
RGBrgb(126, 113, 22)
HSLhsl(53, 70%, 29%)
HSVhsv(53, 83%, 49%)
CMYKcmyk(0%, 10.3%, 82.5%, 50.6%)
CIE-LABlab(47.37, -5.04, 47.97)
CIE-LCHlch(47.37, 48.23, 96.00°)
OKLaboklab(54.46% -0.0194 0.1039)
OKLCHoklch(54.46% 0.106 100.6)
XYZxyz(14.6549, 16.3045, 3.1341)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7116 #16237E
analogous
#7E3D16 #7E7116 #577E16
triadic
#7E7116 #167E71 #71167E
tetradic
#7E7116 #167E3D #16237E #7E1657
square
#7E7116 #167E3D #16237E #7E1657
split-complementary
#7E7116 #16577E #3D167E
monochromatic
#1A1705 #4A420D #7E7116 #B2A01F #DBC633

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7116#FFFFFF#000000##FFFFFF
##7E71161.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)
#7D6E00
Deuteranopia (green-blind)
#80731D
Tritanopia (blue-blind)
#886860
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e7116;
/* rgb */ color: rgb(126, 113, 22);
/* oklch */ color: oklch(54.5% 0.106 100.6);
Tailwind
colors: {
  custom: {
    50: '#a7995d',
    500: '#7e7116',
    950: '#000000',
  },
}
SCSS
$custom: #7e7116;
$custom-light: #a7995d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7116",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 52.5,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5446,
    "c": 0.10572,
    "h": 100.6
  },
  "luminance": 0.16304
}

Semantic roles & 50–950 ramp

primary
#7E7116
secondary
#3D4CB3
accent
#51ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E7116

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

Preview Lab → · Contrast checker → · Palette generator →

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