#7F7F14#7F7F14

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

Color values

HEX#7F7F14
RGBrgb(127, 127, 20)
HSLhsl(60, 73%, 29%)
HSVhsv(60, 84%, 50%)
CMYKcmyk(0%, 0%, 84.3%, 50.2%)
CIE-LABlab(51.54, -12.39, 52.24)
CIE-LCHlch(51.54, 53.69, 103.34°)
OKLaboklab(57.8% -0.0402 0.1127)
OKLCHoklch(57.8% 0.12 109.6)
XYZxyz(16.4687, 19.7418, 3.6047)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7F14 #14147F
analogous
#7F4A14 #7F7F14 #4A7F14
triadic
#7F7F14 #147F7F #7F147F
tetradic
#7F7F14 #147F4A #14147F #7F144A
square
#7F7F14 #147F4A #14147F #7F144A
split-complementary
#7F7F14 #144A7F #4A147F
monochromatic
#1A1A04 #4A4A0C #7F7F14 #B4B41C #DEDE2F

Accessibility & contrast

On white

4.24
#7F7F14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7F7F14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F7F14
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7F14#FFFFFF#000000##000000
##7F7F141.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f7f14;
/* rgb */ color: rgb(127, 127, 20);
/* oklch */ color: oklch(57.8% 0.120 109.6);
Tailwind
colors: {
  custom: {
    50: '#a8a35e',
    500: '#7f7f14',
    950: '#000000',
  },
}
SCSS
$custom: #7f7f14;
$custom-light: #a8a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7f14",
  "rgb": {
    "r": 127,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 60,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.57803,
    "c": 0.11964,
    "h": 109.6
  },
  "luminance": 0.19741
}

Semantic roles & 50–950 ramp

primary
#7F7F14
secondary
#3B3BB4
accent
#38EF38
background
#FAFAF5
surface
#F4F3EA
border
#CECDC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #7F7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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