#7F7714#7F7714

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

Color values

HEX#7F7714
RGBrgb(127, 119, 20)
HSLhsl(56, 73%, 29%)
HSVhsv(56, 84%, 50%)
CMYKcmyk(0%, 6.3%, 84.3%, 50.2%)
CIE-LABlab(49.20, -8.00, 50.22)
CIE-LCHlch(49.20, 50.86, 99.05°)
OKLaboklab(55.93% -0.028 0.1083)
OKLCHoklch(55.93% 0.112 104.5)
XYZxyz(15.4762, 17.7568, 3.2739)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7714 #141C7F
analogous
#7F4214 #7F7714 #527F14
triadic
#7F7714 #147F77 #77147F
tetradic
#7F7714 #147F42 #141C7F #7F1452
square
#7F7714 #147F42 #141C7F #7F1452
split-complementary
#7F7714 #14527F #42147F
monochromatic
#1A1904 #4A450C #7F7714 #B4A91C #DED12F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F7714#FFFFFF#000000##FFFFFF
##7F77141.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)
#85771D
Tritanopia (blue-blind)
#896E65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f7714;
/* rgb */ color: rgb(127, 119, 20);
/* oklch */ color: oklch(55.9% 0.112 104.5);
Tailwind
colors: {
  custom: {
    50: '#a89d5d',
    500: '#7f7714',
    950: '#000000',
  },
}
SCSS
$custom: #7f7714;
$custom-light: #a89d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7714",
  "rgb": {
    "r": 127,
    "g": 119,
    "b": 20
  },
  "hsl": {
    "h": 55.514,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55934,
    "c": 0.11188,
    "h": 104.5
  },
  "luminance": 0.17756
}

Semantic roles & 50–950 ramp

primary
#7F7714
secondary
#3B44B4
accent
#46EF38
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F7714

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

Preview Lab → · Contrast checker → · Palette generator →

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