#7F6514#7F6514

#7F6514 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.9% C 0.099 H 89.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7F6514
RGBrgb(127, 101, 20)
HSLhsl(45, 73%, 29%)
HSVhsv(45, 84%, 50%)
CMYKcmyk(0%, 20.5%, 84.3%, 50.2%)
CIE-LABlab(44.05, 2.27, 45.74)
CIE-LCHlch(44.05, 45.80, 87.16°)
OKLaboklab(51.85% 0.001 0.0986)
OKLCHoklch(51.85% 0.099 89.4)
XYZxyz(13.5332, 13.8708, 2.6262)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6514 #142E7F
analogous
#7F3014 #7F6514 #647F14
triadic
#7F6514 #147F65 #65147F
tetradic
#7F6514 #147F30 #142E7F #7F1464
square
#7F6514 #147F30 #142E7F #7F1464
split-complementary
#7F6514 #14647F #30147F
monochromatic
#1A1504 #4A3B0C #7F6514 #B48F1C #DEB42F

Accessibility & contrast

On white

5.56
#7F6514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7F6514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F6514
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6514#FFFFFF#000000##FFFFFF
##7F65141.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726401
Deuteranopia (green-blind)
#786B19
Tritanopia (blue-blind)
#8A5B56
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7f6514;
/* rgb */ color: rgb(127, 101, 20);
/* oklch */ color: oklch(51.9% 0.099 89.4);
Tailwind
colors: {
  custom: {
    50: '#a8905a',
    500: '#7f6514',
    950: '#000000',
  },
}
SCSS
$custom: #7f6514;
$custom-light: #a8905a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6514",
  "rgb": {
    "r": 127,
    "g": 101,
    "b": 20
  },
  "hsl": {
    "h": 45.421,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51852,
    "c": 0.09862,
    "h": 89.4
  },
  "luminance": 0.1387
}

Semantic roles & 50–950 ramp

primary
#7F6514
secondary
#3B58B4
accent
#65EF38
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6514

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

Preview Lab → · Contrast checker → · Palette generator →

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