#7F6F14#7F6F14

#7F6F14 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.1% C 0.105 H 98.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7F6F14
RGBrgb(127, 111, 20)
HSLhsl(51, 73%, 29%)
HSVhsv(51, 84%, 50%)
CMYKcmyk(0%, 12.6%, 84.3%, 50.2%)
CIE-LABlab(46.89, -3.50, 48.22)
CIE-LCHlch(46.89, 48.35, 94.15°)
OKLaboklab(54.1% -0.0153 0.104)
OKLCHoklch(54.1% 0.105 98.4)
XYZxyz(14.5639, 15.9322, 2.9698)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6F14 #14247F
analogous
#7F3A14 #7F6F14 #5A7F14
triadic
#7F6F14 #147F6F #6F147F
tetradic
#7F6F14 #147F3A #14247F #7F145A
square
#7F6F14 #147F3A #14247F #7F145A
split-complementary
#7F6F14 #145A7F #3A147F
monochromatic
#1A1704 #4A410C #7F6F14 #B49D1C #DEC42F

Accessibility & contrast

On white

5.02
#7F6F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7F6F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6F14
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6F14#FFFFFF#000000##FFFFFF
##7F6F141.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7F711B
Tritanopia (blue-blind)
#8A665E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7f6f14;
/* rgb */ color: rgb(127, 111, 20);
/* oklch */ color: oklch(54.1% 0.105 98.4);
Tailwind
colors: {
  custom: {
    50: '#a8985b',
    500: '#7f6f14',
    950: '#000000',
  },
}
SCSS
$custom: #7f6f14;
$custom-light: #a8985b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6f14",
  "rgb": {
    "r": 127,
    "g": 111,
    "b": 20
  },
  "hsl": {
    "h": 51.028,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54095,
    "c": 0.10511,
    "h": 98.4
  },
  "luminance": 0.15931
}

Semantic roles & 50–950 ramp

primary
#7F6F14
secondary
#3B4DB4
accent
#54EF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7F6F14

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

Preview Lab → · Contrast checker → · Palette generator →

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