#7E7F14#7E7F14

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

Color values

HEX#7E7F14
RGBrgb(126, 127, 20)
HSLhsl(61, 73%, 29%)
HSVhsv(61, 84%, 50%)
CMYKcmyk(0.8%, 0%, 84.3%, 50.2%)
CIE-LABlab(51.46, -12.85, 52.13)
CIE-LCHlch(51.46, 53.69, 103.85°)
OKLaboklab(57.71% -0.0414 0.1125)
OKLCHoklch(57.71% 0.12 110.2)
XYZxyz(16.3204, 19.6654, 3.5978)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7F14 #15147F
analogous
#7F4B14 #7E7F14 #497F14
triadic
#7E7F14 #147E7F #7F147E
tetradic
#7E7F14 #147F4B #15147F #7F1449
square
#7E7F14 #147F4B #15147F #7F1449
split-complementary
#7E7F14 #14497F #4B147F
monochromatic
#1A1A04 #4A4A0C #7E7F14 #B2B41C #DDDE2F

Accessibility & contrast

On white

4.26
#7E7F14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7E7F14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E7F14
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7F14#FFFFFF#000000##000000
##7E7F141.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e7f14;
/* rgb */ color: rgb(126, 127, 20);
/* oklch */ color: oklch(57.7% 0.120 110.2);
Tailwind
colors: {
  custom: {
    50: '#a7a35e',
    500: '#7e7f14',
    950: '#000000',
  },
}
SCSS
$custom: #7e7f14;
$custom-light: #a7a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7f14",
  "rgb": {
    "r": 126,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 60.561,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57712,
    "c": 0.11988,
    "h": 110.2
  },
  "luminance": 0.19665
}

Semantic roles & 50–950 ramp

primary
#7E7F14
secondary
#3C3BB4
accent
#38EF3A
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7E7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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