#7F761E#7F761E

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

Color values

HEX#7F761E
RGBrgb(127, 118, 30)
HSLhsl(54, 62%, 31%)
HSVhsv(54, 76%, 50%)
CMYKcmyk(0%, 7.1%, 76.4%, 50.2%)
CIE-LABlab(48.96, -7.04, 46.63)
CIE-LCHlch(48.96, 47.15, 98.58°)
OKLaboklab(55.76% -0.0243 0.1027)
OKLCHoklch(55.76% 0.106 103.3)
XYZxyz(15.4659, 17.5633, 3.8034)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F761E #1E277F
analogous
#7F451E #7F761E #577F1E
triadic
#7F761E #1E7F76 #761E7F
tetradic
#7F761E #1E7F45 #1E277F #7F1E57
square
#7F761E #1E7F45 #1E277F #7F1E57
split-complementary
#7F761E #1E577F #451E7F
monochromatic
#1C1A07 #4D4812 #7F761E #B1A42A #D3C644

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F761E#FFFFFF#000000##FFFFFF
##7F761E1.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)
#81720D
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#896D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7f761e;
/* rgb */ color: rgb(127, 118, 30);
/* oklch */ color: oklch(55.8% 0.106 103.3);
Tailwind
colors: {
  custom: {
    50: '#a79d61',
    500: '#7f761e',
    950: '#000000',
  },
}
SCSS
$custom: #7f761e;
$custom-light: #a79d61;
$custom-dark: #000000;
JSON
{
  "hex": "#7f761e",
  "rgb": {
    "r": 127,
    "g": 118,
    "b": 30
  },
  "hsl": {
    "h": 54.433,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55761,
    "c": 0.10551,
    "h": 103.3
  },
  "luminance": 0.17563
}

Semantic roles & 50–950 ramp

primary
#7F761E
secondary
#4751B2
accent
#52E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7F761E

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

Preview Lab → · Contrast checker → · Palette generator →

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