#7F6516#7F6516

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

Color values

HEX#7F6516
RGBrgb(127, 101, 22)
HSLhsl(45, 70%, 29%)
HSVhsv(45, 83%, 50%)
CMYKcmyk(0%, 20.5%, 82.7%, 50.2%)
CIE-LABlab(44.06, 2.34, 45.05)
CIE-LCHlch(44.06, 45.12, 87.03°)
OKLaboklab(51.86% 0.0014 0.0976)
OKLCHoklch(51.86% 0.098 89.2)
XYZxyz(13.5517, 13.8782, 2.7239)
Luminance0.1388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6516 #16307F
analogous
#7F3116 #7F6516 #657F16
triadic
#7F6516 #167F65 #65167F
tetradic
#7F6516 #167F31 #16307F #7F1665
square
#7F6516 #167F31 #16307F #7F1665
split-complementary
#7F6516 #16657F #31167F
monochromatic
#1A1505 #4B3C0D #7F6516 #B38E1F #DCB234

Accessibility & contrast

On white

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

On black

3.78
#7F6516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F6516#FFFFFF#000000##FFFFFF
##7F65161.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f6516;
/* rgb */ color: rgb(127, 101, 22);
/* oklch */ color: oklch(51.9% 0.098 89.2);
Tailwind
colors: {
  custom: {
    50: '#a8905b',
    500: '#7f6516',
    950: '#000000',
  },
}
SCSS
$custom: #7f6516;
$custom-light: #a8905b;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6516",
  "rgb": {
    "r": 127,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 45.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51864,
    "c": 0.0976,
    "h": 89.2
  },
  "luminance": 0.13877
}

Semantic roles & 50–950 ramp

primary
#7F6516
secondary
#3D5AB4
accent
#67ED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7F6516

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

Preview Lab → · Contrast checker → · Palette generator →

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