#7E7013#7E7013

#7E7013 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.106 H 100.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7E7013
RGBrgb(126, 112, 19)
HSLhsl(52, 74%, 28%)
HSVhsv(52, 85%, 49%)
CMYKcmyk(0%, 11.1%, 84.9%, 50.6%)
CIE-LABlab(47.07, -4.58, 48.65)
CIE-LCHlch(47.07, 48.86, 95.38°)
OKLaboklab(54.22% -0.0184 0.1048)
OKLCHoklch(54.22% 0.106 100)
XYZxyz(14.5166, 16.0717, 2.9535)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7013 #13217E
analogous
#7E3B13 #7E7013 #567E13
triadic
#7E7013 #137E70 #70137E
tetradic
#7E7013 #137E3B #13217E #7E1356
square
#7E7013 #137E3B #13217E #7E1356
split-complementary
#7E7013 #13567E #3B137E
monochromatic
#1B1804 #49410B #7E7013 #B39F1B #DFC82C

Accessibility & contrast

On white

4.98
#7E7013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7E7013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7013
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7013#FFFFFF#000000##FFFFFF
##7E70131.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#80721B
Tritanopia (blue-blind)
#89675F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7e7013;
/* rgb */ color: rgb(126, 112, 19);
/* oklch */ color: oklch(54.2% 0.106 100.0);
Tailwind
colors: {
  custom: {
    50: '#a7985b',
    500: '#7e7013',
    950: '#000000',
  },
}
SCSS
$custom: #7e7013;
$custom-light: #a7985b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7013",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 19
  },
  "hsl": {
    "h": 52.15,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54215,
    "c": 0.10635,
    "h": 100
  },
  "luminance": 0.16071
}

Semantic roles & 50–950 ramp

primary
#7E7013
secondary
#3949B4
accent
#50F037
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E7013

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

Preview Lab → · Contrast checker → · Palette generator →

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