#7F7616#7F7616

#7F7616 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.110 H 103.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7F7616
RGBrgb(127, 118, 22)
HSLhsl(55, 70%, 29%)
HSVhsv(55, 83%, 50%)
CMYKcmyk(0%, 7.1%, 82.7%, 50.2%)
CIE-LABlab(48.92, -7.38, 49.37)
CIE-LCHlch(48.92, 49.92, 98.50°)
OKLaboklab(55.71% -0.026 0.1069)
OKLCHoklch(55.71% 0.11 103.7)
XYZxyz(15.3764, 17.5275, 3.3321)
Luminance0.1753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7616 #161F7F
analogous
#7F4216 #7F7616 #547F16
triadic
#7F7616 #167F76 #76167F
tetradic
#7F7616 #167F42 #161F7F #7F1654
square
#7F7616 #167F42 #161F7F #7F1654
split-complementary
#7F7616 #16547F #42167F
monochromatic
#1A1805 #4B460D #7F7616 #B3A61F #DCCD34

Accessibility & contrast

On white

4.66
#7F7616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#7F7616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7616
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7616#FFFFFF#000000##FFFFFF
##7F76161.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#84761E
Tritanopia (blue-blind)
#896D64
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f7616;
/* rgb */ color: rgb(127, 118, 22);
/* oklch */ color: oklch(55.7% 0.110 103.7);
Tailwind
colors: {
  custom: {
    50: '#a89d5d',
    500: '#7f7616',
    950: '#000000',
  },
}
SCSS
$custom: #7f7616;
$custom-light: #a89d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7616",
  "rgb": {
    "r": 127,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 54.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55712,
    "c": 0.11002,
    "h": 103.7
  },
  "luminance": 0.17527
}

Semantic roles & 50–950 ramp

primary
#7F7616
secondary
#3D47B4
accent
#4AED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7616

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

Preview Lab → · Contrast checker → · Palette generator →

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