#7E7C19#7E7C19

#7E7C19 is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.0% C 0.114 H 108.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7E7C19
RGBrgb(126, 124, 25)
HSLhsl(59, 67%, 30%)
HSVhsv(59, 80%, 49%)
CMYKcmyk(0%, 1.6%, 80.2%, 50.6%)
CIE-LABlab(50.60, -11.04, 49.87)
CIE-LCHlch(50.60, 51.07, 102.48°)
OKLaboklab(57.03% -0.036 0.1086)
OKLCHoklch(57.03% 0.114 108.3)
XYZxyz(15.9879, 18.9216, 3.7296)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7C19 #191B7E
analogous
#7E4A19 #7E7C19 #4E7E19
triadic
#7E7C19 #197E7C #7C197E
tetradic
#7E7C19 #197E4A #191B7E #7E194E
square
#7E7C19 #197E4A #191B7E #7E194E
split-complementary
#7E7C19 #194E7E #4A197E
monochromatic
#1A1905 #4B4A0F #7E7C19 #B1AE23 #D8D53A

Accessibility & contrast

On white

4.39
#7E7C19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7E7C19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7C19
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7C19#FFFFFF#000000##000000
##7E7C191.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#887A22
Tritanopia (blue-blind)
#88736A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e7c19;
/* rgb */ color: rgb(126, 124, 25);
/* oklch */ color: oklch(57.0% 0.114 108.3);
Tailwind
colors: {
  custom: {
    50: '#a7a15f',
    500: '#7e7c19',
    950: '#000000',
  },
}
SCSS
$custom: #7e7c19;
$custom-light: #a7a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7c19",
  "rgb": {
    "r": 126,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 58.812,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.57031,
    "c": 0.11441,
    "h": 108.3
  },
  "luminance": 0.18921
}

Semantic roles & 50–950 ramp

primary
#7E7C19
secondary
#4143B2
accent
#41EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7C19

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

Preview Lab → · Contrast checker → · Palette generator →

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