#7E7713#7E7713

#7E7713 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.112 H 105.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7E7713
RGBrgb(126, 119, 19)
HSLhsl(56, 74%, 28%)
HSVhsv(56, 85%, 49%)
CMYKcmyk(0%, 5.6%, 84.9%, 50.6%)
CIE-LABlab(49.10, -8.51, 50.39)
CIE-LCHlch(49.10, 51.10, 99.58°)
OKLaboklab(55.83% -0.0294 0.1085)
OKLCHoklch(55.83% 0.112 105.2)
XYZxyz(15.3192, 17.6769, 3.2210)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7713 #131A7E
analogous
#7E4113 #7E7713 #4F7E13
triadic
#7E7713 #137E77 #77137E
tetradic
#7E7713 #137E41 #131A7E #7E134F
square
#7E7713 #137E41 #131A7E #7E134F
split-complementary
#7E7713 #134F7E #41137E
monochromatic
#1B1904 #49450B #7E7713 #B3A91B #DFD32C

Accessibility & contrast

On white

4.63
#7E7713 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7E7713 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7713
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7713#FFFFFF#000000##FFFFFF
##7E77131.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#85761C
Tritanopia (blue-blind)
#886E65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e7713;
/* rgb */ color: rgb(126, 119, 19);
/* oklch */ color: oklch(55.8% 0.112 105.2);
Tailwind
colors: {
  custom: {
    50: '#a79d5c',
    500: '#7e7713',
    950: '#000000',
  },
}
SCSS
$custom: #7e7713;
$custom-light: #a79d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7713",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 19
  },
  "hsl": {
    "h": 56.075,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55832,
    "c": 0.11245,
    "h": 105.2
  },
  "luminance": 0.17676
}

Semantic roles & 50–950 ramp

primary
#7E7713
secondary
#3941B4
accent
#43F037
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7E7713

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

Preview Lab → · Contrast checker → · Palette generator →

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