#7E7E19#7E7E19

#7E7E19 is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.5% C 0.116 H 109.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7E7E19
RGBrgb(126, 126, 25)
HSLhsl(60, 67%, 30%)
HSVhsv(60, 80%, 49%)
CMYKcmyk(0%, 0%, 80.2%, 50.6%)
CIE-LABlab(51.18, -12.13, 50.40)
CIE-LCHlch(51.18, 51.84, 103.53°)
OKLaboklab(57.5% -0.039 0.1097)
OKLCHoklch(57.5% 0.116 109.6)
XYZxyz(16.2411, 19.4280, 3.8140)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7E19 #19197E
analogous
#7E4C19 #7E7E19 #4C7E19
triadic
#7E7E19 #197E7E #7E197E
tetradic
#7E7E19 #197E4C #19197E #7E194C
square
#7E7E19 #197E4C #19197E #7E194C
split-complementary
#7E7E19 #194C7E #4C197E
monochromatic
#1A1A05 #4B4B0F #7E7E19 #B1B123 #D8D83A

Accessibility & contrast

On white

4.30
#7E7E19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#7E7E19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7E19
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7E19#FFFFFF#000000##000000
##7E7E191.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#8A7B22
Tritanopia (blue-blind)
#87756B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e7e19;
/* rgb */ color: rgb(126, 126, 25);
/* oklch */ color: oklch(57.5% 0.116 109.6);
Tailwind
colors: {
  custom: {
    50: '#a7a360',
    500: '#7e7e19',
    950: '#000000',
  },
}
SCSS
$custom: #7e7e19;
$custom-light: #a7a360;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7e19",
  "rgb": {
    "r": 126,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 60,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.57502,
    "c": 0.11646,
    "h": 109.6
  },
  "luminance": 0.19428
}

Semantic roles & 50–950 ramp

primary
#7E7E19
secondary
#4141B2
accent
#3EEA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100F05
muted
#7F7E79

Preview Lab

Preview with #7E7E19

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

Preview Lab → · Contrast checker → · Palette generator →

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