#7E7513#7E7513

#7E7513 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.111 H 103.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7E7513
RGBrgb(126, 117, 19)
HSLhsl(55, 74%, 28%)
HSVhsv(55, 85%, 49%)
CMYKcmyk(0%, 7.1%, 84.9%, 50.6%)
CIE-LABlab(48.52, -7.39, 49.89)
CIE-LCHlch(48.52, 50.44, 98.43°)
OKLaboklab(55.37% -0.0263 0.1075)
OKLCHoklch(55.37% 0.111 103.7)
XYZxyz(15.0837, 17.2059, 3.1425)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7513 #131C7E
analogous
#7E3F13 #7E7513 #517E13
triadic
#7E7513 #137E75 #75137E
tetradic
#7E7513 #137E3F #131C7E #7E1351
square
#7E7513 #137E3F #131C7E #7E1351
split-complementary
#7E7513 #13517E #3F137E
monochromatic
#1B1904 #49440B #7E7513 #B3A61B #DFD02C

Accessibility & contrast

On white

4.73
#7E7513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7E7513 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7513
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7513#FFFFFF#000000##FFFFFF
##7E75131.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#83751C
Tritanopia (blue-blind)
#886C63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e7513;
/* rgb */ color: rgb(126, 117, 19);
/* oklch */ color: oklch(55.4% 0.111 103.7);
Tailwind
colors: {
  custom: {
    50: '#a79c5c',
    500: '#7e7513',
    950: '#000000',
  },
}
SCSS
$custom: #7e7513;
$custom-light: #a79c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7513",
  "rgb": {
    "r": 126,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 54.953,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.55367,
    "c": 0.11063,
    "h": 103.7
  },
  "luminance": 0.17205
}

Semantic roles & 50–950 ramp

primary
#7E7513
secondary
#3944B4
accent
#47F037
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7E7513

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

Preview Lab → · Contrast checker → · Palette generator →

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