#7F7720#7F7720

#7F7720 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.0% C 0.105 H 104.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7F7720
RGBrgb(127, 119, 32)
HSLhsl(55, 60%, 31%)
HSVhsv(55, 75%, 50%)
CMYKcmyk(0%, 6.3%, 74.8%, 50.2%)
CIE-LABlab(49.27, -7.50, 46.14)
CIE-LCHlch(49.27, 46.75, 99.23°)
OKLaboklab(56.01% -0.0254 0.1021)
OKLCHoklch(56.01% 0.105 104)
XYZxyz(15.6106, 17.8106, 3.9817)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F7720 #20287F
analogous
#7F4720 #7F7720 #577F20
triadic
#7F7720 #207F77 #77207F
tetradic
#7F7720 #207F47 #20287F #7F2057
square
#7F7720 #207F47 #20287F #7F2057
split-complementary
#7F7720 #20577F #47207F
monochromatic
#1D1B07 #4E4914 #7F7720 #B0A52C #D1C548

Accessibility & contrast

On white

4.60
#7F7720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#7F7720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7F7720
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F7720#FFFFFF#000000##FFFFFF
##7F77201.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827311
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#896E66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7f7720;
/* rgb */ color: rgb(127, 119, 32);
/* oklch */ color: oklch(56.0% 0.105 104.0);
Tailwind
colors: {
  custom: {
    50: '#a79d62',
    500: '#7f7720',
    950: '#000000',
  },
}
SCSS
$custom: #7f7720;
$custom-light: #a79d62;
$custom-dark: #000000;
JSON
{
  "hex": "#7f7720",
  "rgb": {
    "r": 127,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 54.947,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56007,
    "c": 0.10517,
    "h": 104
  },
  "luminance": 0.1781
}

Semantic roles & 50–950 ramp

primary
#7F7720
secondary
#4952B2
accent
#52E345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #7F7720

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

Preview Lab → · Contrast checker → · Palette generator →

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