#7E7F19#7E7F19

#7E7F19 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.7% C 0.118 H 110.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7E7F19
RGBrgb(126, 127, 25)
HSLhsl(61, 67%, 30%)
HSVhsv(61, 80%, 50%)
CMYKcmyk(0.8%, 0%, 80.3%, 50.2%)
CIE-LABlab(51.48, -12.67, 50.66)
CIE-LCHlch(51.48, 52.22, 104.04°)
OKLaboklab(57.74% -0.0405 0.1103)
OKLCHoklch(57.74% 0.118 110.2)
XYZxyz(16.3696, 19.6850, 3.8568)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7F19 #1A197F
analogous
#7F4D19 #7E7F19 #4B7F19
triadic
#7E7F19 #197E7F #7F197E
tetradic
#7E7F19 #197F4D #1A197F #7F194B
square
#7E7F19 #197F4D #1A197F #7F194B
split-complementary
#7E7F19 #194B7F #4D197F
monochromatic
#191A05 #4B4C0F #7E7F19 #B1B223 #D7D83A

Accessibility & contrast

On white

4.25
#7E7F19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7E7F19 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7F19
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7F19#FFFFFF#000000##000000
##7E7F191.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#8B7C22
Tritanopia (blue-blind)
#87766C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e7f19;
/* rgb */ color: rgb(126, 127, 25);
/* oklch */ color: oklch(57.7% 0.118 110.2);
Tailwind
colors: {
  custom: {
    50: '#a7a360',
    500: '#7e7f19',
    950: '#000000',
  },
}
SCSS
$custom: #7e7f19;
$custom-light: #a7a360;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7f19",
  "rgb": {
    "r": 126,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 60.588,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.57738,
    "c": 0.11751,
    "h": 110.2
  },
  "luminance": 0.19685
}

Semantic roles & 50–950 ramp

primary
#7E7F19
secondary
#4241B3
accent
#3EEA3F
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7E7F19

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

Preview Lab → · Contrast checker → · Palette generator →

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