#7E7219#7E7219

#7E7219 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.7% C 0.105 H 101.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7E7219
RGBrgb(126, 114, 25)
HSLhsl(53, 67%, 30%)
HSVhsv(53, 80%, 49%)
CMYKcmyk(0%, 9.5%, 80.2%, 50.6%)
CIE-LABlab(47.68, -5.49, 47.22)
CIE-LCHlch(47.68, 47.54, 96.63°)
OKLaboklab(54.71% -0.0204 0.103)
OKLCHoklch(54.71% 0.105 101.2)
XYZxyz(14.7977, 16.5411, 3.3328)
Luminance0.1654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7219 #19257E
analogous
#7E3F19 #7E7219 #587E19
triadic
#7E7219 #197E72 #72197E
tetradic
#7E7219 #197E3F #19257E #7E1958
square
#7E7219 #197E3F #19257E #7E1958
split-complementary
#7E7219 #19587E #3F197E
monochromatic
#1A1705 #4B440F #7E7219 #B1A023 #D8C53A

Accessibility & contrast

On white

4.87
#7E7219 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7E7219 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7219
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7219#FFFFFF#000000##FFFFFF
##7E72191.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6E04
Deuteranopia (green-blind)
#817320
Tritanopia (blue-blind)
#886961
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7e7219;
/* rgb */ color: rgb(126, 114, 25);
/* oklch */ color: oklch(54.7% 0.105 101.2);
Tailwind
colors: {
  custom: {
    50: '#a79a5e',
    500: '#7e7219',
    950: '#000000',
  },
}
SCSS
$custom: #7e7219;
$custom-light: #a79a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7219",
  "rgb": {
    "r": 126,
    "g": 114,
    "b": 25
  },
  "hsl": {
    "h": 52.871,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54707,
    "c": 0.10496,
    "h": 101.2
  },
  "luminance": 0.1654
}

Semantic roles & 50–950 ramp

primary
#7E7219
secondary
#414EB2
accent
#52EA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7219

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

Preview Lab → · Contrast checker → · Palette generator →

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