#7F761D#7F761D

#7F761D is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.8% C 0.106 H 103.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7F761D
RGBrgb(127, 118, 29)
HSLhsl(54, 63%, 31%)
HSVhsv(54, 77%, 50%)
CMYKcmyk(0%, 7.1%, 77.2%, 50.2%)
CIE-LABlab(48.96, -7.09, 47.00)
CIE-LCHlch(48.96, 47.53, 98.57°)
OKLaboklab(55.75% -0.0246 0.1033)
OKLCHoklch(55.75% 0.106 103.4)
XYZxyz(15.4533, 17.5583, 3.7372)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F761D #1D267F
analogous
#7F451D #7F761D #577F1D
triadic
#7F761D #1D7F76 #761D7F
tetradic
#7F761D #1D7F45 #1D267F #7F1D57
square
#7F761D #1D7F45 #1D267F #7F1D57
split-complementary
#7F761D #1D577F #451D7F
monochromatic
#1B1906 #4D4812 #7F761D #B1A428 #D4C742

Accessibility & contrast

On white

4.65
#7F761D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F761D
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F761D#FFFFFF#000000##FFFFFF
##7F761D1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720B
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#896D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f761d;
/* rgb */ color: rgb(127, 118, 29);
/* oklch */ color: oklch(55.8% 0.106 103.4);
Tailwind
colors: {
  custom: {
    50: '#a79d60',
    500: '#7f761d',
    950: '#000000',
  },
}
SCSS
$custom: #7f761d;
$custom-light: #a79d60;
$custom-dark: #000000;
JSON
{
  "hex": "#7f761d",
  "rgb": {
    "r": 127,
    "g": 118,
    "b": 29
  },
  "hsl": {
    "h": 54.49,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55754,
    "c": 0.10614,
    "h": 103.4
  },
  "luminance": 0.17558
}

Semantic roles & 50–950 ramp

primary
#7F761D
secondary
#454FB2
accent
#51E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F761D

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

Preview Lab → · Contrast checker → · Palette generator →

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