#7E761E#7E761E

#7E761E is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.106 H 104.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#7E761E
RGBrgb(126, 118, 30)
HSLhsl(55, 62%, 31%)
HSVhsv(55, 76%, 49%)
CMYKcmyk(0%, 6.3%, 76.2%, 50.6%)
CIE-LABlab(48.87, -7.51, 46.50)
CIE-LCHlch(48.87, 47.10, 99.17°)
OKLaboklab(55.66% -0.0256 0.1025)
OKLCHoklch(55.66% 0.106 104)
XYZxyz(15.3176, 17.4868, 3.7965)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E761E #1E267E
analogous
#7E461E #7E761E #567E1E
triadic
#7E761E #1E7E76 #761E7E
tetradic
#7E761E #1E7E46 #1E267E #7E1E56
square
#7E761E #1E7E46 #1E267E #7E1E56
split-complementary
#7E761E #1E567E #461E7E
monochromatic
#1B1906 #4D4812 #7E761E #AFA42A #D2C744

Accessibility & contrast

On white

4.67
#7E761E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#7E761E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E761E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E761E#FFFFFF#000000##FFFFFF
##7E761E1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720D
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#886D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e761e;
/* rgb */ color: rgb(126, 118, 30);
/* oklch */ color: oklch(55.7% 0.106 104.0);
Tailwind
colors: {
  custom: {
    50: '#a79d61',
    500: '#7e761e',
    950: '#000000',
  },
}
SCSS
$custom: #7e761e;
$custom-light: #a79d61;
$custom-dark: #000000;
JSON
{
  "hex": "#7e761e",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 30
  },
  "hsl": {
    "h": 55,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55664,
    "c": 0.1056,
    "h": 104
  },
  "luminance": 0.17486
}

Semantic roles & 50–950 ramp

primary
#7E761E
secondary
#474FB1
accent
#51E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E761E

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

Preview Lab → · Contrast checker → · Palette generator →

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