#7E7819#7E7819

#7E7819 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.1% C 0.110 H 105.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7E7819
RGBrgb(126, 120, 25)
HSLhsl(56, 67%, 30%)
HSVhsv(56, 80%, 49%)
CMYKcmyk(0%, 4.8%, 80.2%, 50.6%)
CIE-LABlab(49.42, -8.84, 48.81)
CIE-LCHlch(49.42, 49.60, 100.27°)
OKLaboklab(56.1% -0.0298 0.1064)
OKLCHoklch(56.1% 0.11 105.7)
XYZxyz(15.4968, 17.9393, 3.5659)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7819 #191F7E
analogous
#7E4619 #7E7819 #517E19
triadic
#7E7819 #197E78 #78197E
tetradic
#7E7819 #197E46 #191F7E #7E1951
square
#7E7819 #197E46 #191F7E #7E1951
split-complementary
#7E7819 #19517E #46197E
monochromatic
#1A1805 #4B470F #7E7819 #B1A923 #D8CE3A

Accessibility & contrast

On white

4.58
#7E7819 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7E7819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7819
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7819#FFFFFF#000000##000000
##7E78191.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837301
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#886F66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e7819;
/* rgb */ color: rgb(126, 120, 25);
/* oklch */ color: oklch(56.1% 0.110 105.7);
Tailwind
colors: {
  custom: {
    50: '#a79e5f',
    500: '#7e7819',
    950: '#000000',
  },
}
SCSS
$custom: #7e7819;
$custom-light: #a79e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7819",
  "rgb": {
    "r": 126,
    "g": 120,
    "b": 25
  },
  "hsl": {
    "h": 56.436,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56096,
    "c": 0.11045,
    "h": 105.7
  },
  "luminance": 0.17939
}

Semantic roles & 50–950 ramp

primary
#7E7819
secondary
#4147B2
accent
#48EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7819

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

Preview Lab → · Contrast checker → · Palette generator →

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