#7E7319#7E7319

#7E7319 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.106 H 102.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7E7319
RGBrgb(126, 115, 25)
HSLhsl(53, 67%, 30%)
HSVhsv(53, 80%, 49%)
CMYKcmyk(0%, 8.7%, 80.2%, 50.6%)
CIE-LABlab(47.97, -6.05, 47.49)
CIE-LCHlch(47.97, 47.87, 97.26°)
OKLaboklab(54.94% -0.022 0.1035)
OKLCHoklch(54.94% 0.106 102)
XYZxyz(14.9111, 16.7680, 3.3706)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7319 #19247E
analogous
#7E4019 #7E7319 #577E19
triadic
#7E7319 #197E73 #73197E
tetradic
#7E7319 #197E40 #19247E #7E1957
square
#7E7319 #197E40 #19247E #7E1957
split-complementary
#7E7319 #19577E #40197E
monochromatic
#1A1705 #4B440F #7E7319 #B1A223 #D8C73A

Accessibility & contrast

On white

4.82
#7E7319 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7E7319 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7319
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7319#FFFFFF#000000##FFFFFF
##7E73191.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F04
Deuteranopia (green-blind)
#827420
Tritanopia (blue-blind)
#886A62
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7e7319;
/* rgb */ color: rgb(126, 115, 25);
/* oklch */ color: oklch(54.9% 0.106 102.0);
Tailwind
colors: {
  custom: {
    50: '#a79b5e',
    500: '#7e7319',
    950: '#000000',
  },
}
SCSS
$custom: #7e7319;
$custom-light: #a79b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7319",
  "rgb": {
    "r": 126,
    "g": 115,
    "b": 25
  },
  "hsl": {
    "h": 53.465,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54937,
    "c": 0.10584,
    "h": 102
  },
  "luminance": 0.16767
}

Semantic roles & 50–950 ramp

primary
#7E7319
secondary
#414DB2
accent
#51EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7319

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

Preview Lab → · Contrast checker → · Palette generator →

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