#7F7713#7F7713

#7F7713 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#7F7713
RGBrgb(127, 119, 19)
HSLhsl(56, 74%, 29%)
HSVhsv(56, 85%, 50%)
CMYKcmyk(0%, 6.3%, 85%, 50.2%)
CIE-LABlab(49.20, -8.04, 50.51)
CIE-LCHlch(49.20, 51.14, 99.04°)
OKLaboklab(55.93% -0.0281 0.1087)
OKLCHoklch(55.93% 0.112 104.5)
XYZxyz(15.4675, 17.7533, 3.2280)
Luminance0.1775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7713 #131B7F
analogous
#7F4113 #7F7713 #517F13
triadic
#7F7713 #137F77 #77137F
tetradic
#7F7713 #137F41 #131B7F #7F1351
square
#7F7713 #137F41 #131B7F #7F1351
split-complementary
#7F7713 #13517F #41137F
monochromatic
#1B1904 #4A450B #7F7713 #B4A91B #E0D22D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F7713#FFFFFF#000000##FFFFFF
##7F77131.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)
#837300
Deuteranopia (green-blind)
#85771C
Tritanopia (blue-blind)
#896E65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f7713;
/* rgb */ color: rgb(127, 119, 19);
/* oklch */ color: oklch(55.9% 0.112 104.5);
Tailwind
colors: {
  custom: {
    50: '#a89d5c',
    500: '#7f7713',
    950: '#000000',
  },
}
SCSS
$custom: #7f7713;
$custom-light: #a89d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7713",
  "rgb": {
    "r": 127,
    "g": 119,
    "b": 19
  },
  "hsl": {
    "h": 55.556,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.55929,
    "c": 0.11232,
    "h": 104.5
  },
  "luminance": 0.17753
}

Semantic roles & 50–950 ramp

primary
#7F7713
secondary
#3942B4
accent
#45F137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7F7713

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

Preview Lab → · Contrast checker → · Palette generator →

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