#7E7719#7E7719

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

Color values

HEX#7E7719
RGBrgb(126, 119, 25)
HSLhsl(56, 67%, 30%)
HSVhsv(56, 80%, 49%)
CMYKcmyk(0%, 5.6%, 80.2%, 50.6%)
CIE-LABlab(49.13, -8.29, 48.55)
CIE-LCHlch(49.13, 49.25, 99.69°)
OKLaboklab(55.86% -0.0283 0.1058)
OKLCHoklch(55.86% 0.11 105)
XYZxyz(15.3772, 17.7001, 3.5260)
Luminance0.1770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7719 #19207E
analogous
#7E4519 #7E7719 #527E19
triadic
#7E7719 #197E77 #77197E
tetradic
#7E7719 #197E45 #19207E #7E1952
square
#7E7719 #197E45 #19207E #7E1952
split-complementary
#7E7719 #19527E #45197E
monochromatic
#1A1805 #4B470F #7E7719 #B1A723 #D8CD3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E7719#FFFFFF#000000##FFFFFF
##7E77191.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)
#827302
Deuteranopia (green-blind)
#857721
Tritanopia (blue-blind)
#886E65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e7719;
/* rgb */ color: rgb(126, 119, 25);
/* oklch */ color: oklch(55.9% 0.110 105.0);
Tailwind
colors: {
  custom: {
    50: '#a79d5f',
    500: '#7e7719',
    950: '#000000',
  },
}
SCSS
$custom: #7e7719;
$custom-light: #a79d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7719",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 25
  },
  "hsl": {
    "h": 55.842,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55863,
    "c": 0.1095,
    "h": 105
  },
  "luminance": 0.17699
}

Semantic roles & 50–950 ramp

primary
#7E7719
secondary
#4148B2
accent
#4AEA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7719

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

Preview Lab → · Contrast checker → · Palette generator →

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