#7F7716#7F7716

#7F7716 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.9% C 0.111 H 104.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7F7716
RGBrgb(127, 119, 22)
HSLhsl(55, 70%, 29%)
HSVhsv(55, 83%, 50%)
CMYKcmyk(0%, 6.3%, 82.7%, 50.2%)
CIE-LABlab(49.21, -7.93, 49.63)
CIE-LCHlch(49.21, 50.26, 99.08°)
OKLaboklab(55.94% -0.0276 0.1074)
OKLCHoklch(55.94% 0.111 104.4)
XYZxyz(15.4947, 17.7643, 3.3716)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7716 #161E7F
analogous
#7F4316 #7F7716 #537F16
triadic
#7F7716 #167F77 #77167F
tetradic
#7F7716 #167F43 #161E7F #7F1653
square
#7F7716 #167F43 #161E7F #7F1653
split-complementary
#7F7716 #16537F #43167F
monochromatic
#1A1805 #4B460D #7F7716 #B3A81F #DCCF34

Accessibility & contrast

On white

4.61
#7F7716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7F7716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7716
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7716#FFFFFF#000000##FFFFFF
##7F77161.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#85771E
Tritanopia (blue-blind)
#896E65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f7716;
/* rgb */ color: rgb(127, 119, 22);
/* oklch */ color: oklch(55.9% 0.111 104.4);
Tailwind
colors: {
  custom: {
    50: '#a89d5d',
    500: '#7f7716',
    950: '#000000',
  },
}
SCSS
$custom: #7f7716;
$custom-light: #a89d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7716",
  "rgb": {
    "r": 127,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 55.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.55944,
    "c": 0.11093,
    "h": 104.4
  },
  "luminance": 0.17764
}

Semantic roles & 50–950 ramp

primary
#7F7716
secondary
#3D46B4
accent
#48ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7716

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

Preview Lab → · Contrast checker → · Palette generator →

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