#7E7619#7E7619

#7E7619 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.109 H 104.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7E7619
RGBrgb(126, 118, 25)
HSLhsl(55, 67%, 30%)
HSVhsv(55, 80%, 49%)
CMYKcmyk(0%, 6.3%, 80.2%, 50.6%)
CIE-LABlab(48.84, -7.73, 48.28)
CIE-LCHlch(48.84, 48.90, 99.10°)
OKLaboklab(55.63% -0.0267 0.1052)
OKLCHoklch(55.63% 0.109 104.2)
XYZxyz(15.2588, 17.4633, 3.4865)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7619 #19217E
analogous
#7E4419 #7E7619 #537E19
triadic
#7E7619 #197E76 #76197E
tetradic
#7E7619 #197E44 #19217E #7E1953
square
#7E7619 #197E44 #19217E #7E1953
split-complementary
#7E7619 #19537E #44197E
monochromatic
#1A1805 #4B460F #7E7619 #B1A623 #D8CB3A

Accessibility & contrast

On white

4.67
#7E7619 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7E7619 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7619
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7619#FFFFFF#000000##FFFFFF
##7E76191.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817202
Deuteranopia (green-blind)
#847620
Tritanopia (blue-blind)
#886D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e7619;
/* rgb */ color: rgb(126, 118, 25);
/* oklch */ color: oklch(55.6% 0.109 104.2);
Tailwind
colors: {
  custom: {
    50: '#a79d5f',
    500: '#7e7619',
    950: '#000000',
  },
}
SCSS
$custom: #7e7619;
$custom-light: #a79d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7619",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 25
  },
  "hsl": {
    "h": 55.248,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55631,
    "c": 0.10856,
    "h": 104.2
  },
  "luminance": 0.17463
}

Semantic roles & 50–950 ramp

primary
#7E7619
secondary
#414AB2
accent
#4CEA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7619

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

Preview Lab → · Contrast checker → · Palette generator →

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