#7E7613#7E7613

#7E7613 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.112 H 104.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7E7613
RGBrgb(126, 118, 19)
HSLhsl(56, 74%, 28%)
HSVhsv(56, 85%, 49%)
CMYKcmyk(0%, 6.3%, 84.9%, 50.6%)
CIE-LABlab(48.81, -7.95, 50.14)
CIE-LCHlch(48.81, 50.77, 99.01°)
OKLaboklab(55.6% -0.0278 0.108)
OKLCHoklch(55.6% 0.112 104.5)
XYZxyz(15.2009, 17.4401, 3.1816)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7613 #131B7E
analogous
#7E4013 #7E7613 #507E13
triadic
#7E7613 #137E76 #76137E
tetradic
#7E7613 #137E40 #131B7E #7E1350
square
#7E7613 #137E40 #131B7E #7E1350
split-complementary
#7E7613 #13507E #40137E
monochromatic
#1B1904 #49440B #7E7613 #B3A81B #DFD22C

Accessibility & contrast

On white

4.68
#7E7613 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7E7613 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7613
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7613#FFFFFF#000000##FFFFFF
##7E76131.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#84761C
Tritanopia (blue-blind)
#886D64
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e7613;
/* rgb */ color: rgb(126, 118, 19);
/* oklch */ color: oklch(55.6% 0.112 104.5);
Tailwind
colors: {
  custom: {
    50: '#a79d5c',
    500: '#7e7613',
    950: '#000000',
  },
}
SCSS
$custom: #7e7613;
$custom-light: #a79d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7613",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 19
  },
  "hsl": {
    "h": 55.514,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55599,
    "c": 0.11153,
    "h": 104.5
  },
  "luminance": 0.1744
}

Semantic roles & 50–950 ramp

primary
#7E7613
secondary
#3942B4
accent
#45F037
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7E7613

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

Preview Lab → · Contrast checker → · Palette generator →

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