#7E7113#7E7113

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

Color values

HEX#7E7113
RGBrgb(126, 113, 19)
HSLhsl(53, 74%, 28%)
HSVhsv(53, 85%, 49%)
CMYKcmyk(0%, 10.3%, 84.9%, 50.6%)
CIE-LABlab(47.36, -5.15, 48.89)
CIE-LCHlch(47.36, 49.16, 96.01°)
OKLaboklab(54.44% -0.02 0.1053)
OKLCHoklch(54.44% 0.107 100.8)
XYZxyz(14.6276, 16.2936, 2.9905)
Luminance0.1629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7113 #13207E
analogous
#7E3B13 #7E7113 #557E13
triadic
#7E7113 #137E71 #71137E
tetradic
#7E7113 #137E3B #13207E #7E1355
square
#7E7113 #137E3B #13207E #7E1355
split-complementary
#7E7113 #13557E #3B137E
monochromatic
#1B1804 #49410B #7E7113 #B3A11B #DFC92C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7113#FFFFFF#000000##FFFFFF
##7E71131.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)
#80721B
Tritanopia (blue-blind)
#886860
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e7113;
/* rgb */ color: rgb(126, 113, 19);
/* oklch */ color: oklch(54.4% 0.107 100.8);
Tailwind
colors: {
  custom: {
    50: '#a7995b',
    500: '#7e7113',
    950: '#000000',
  },
}
SCSS
$custom: #7e7113;
$custom-light: #a7995b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7113",
  "rgb": {
    "r": 126,
    "g": 113,
    "b": 19
  },
  "hsl": {
    "h": 52.71,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54444,
    "c": 0.10717,
    "h": 100.8
  },
  "luminance": 0.16293
}

Semantic roles & 50–950 ramp

primary
#7E7113
secondary
#3948B4
accent
#4EF037
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E7113

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

Preview Lab → · Contrast checker → · Palette generator →

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