#7E761D#7E761D

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

Color values

HEX#7E761D
RGBrgb(126, 118, 29)
HSLhsl(55, 63%, 30%)
HSVhsv(55, 77%, 49%)
CMYKcmyk(0%, 6.3%, 77%, 50.6%)
CIE-LABlab(48.86, -7.55, 46.87)
CIE-LCHlch(48.86, 47.48, 99.16°)
OKLaboklab(55.66% -0.0258 0.103)
OKLCHoklch(55.66% 0.106 104.1)
XYZxyz(15.3051, 17.4818, 3.7303)
Luminance0.1748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E761D #1D257E
analogous
#7E461D #7E761D #557E1D
triadic
#7E761D #1D7E76 #761D7E
tetradic
#7E761D #1D7E46 #1D257E #7E1D55
square
#7E761D #1D7E46 #1D257E #7E1D55
split-complementary
#7E761D #1D557E #461D7E
monochromatic
#1B1906 #4C4712 #7E761D #B0A528 #D3C742

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E761D#FFFFFF#000000##FFFFFF
##7E761D1.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)
#81720B
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#886D65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e761d;
/* rgb */ color: rgb(126, 118, 29);
/* oklch */ color: oklch(55.7% 0.106 104.1);
Tailwind
colors: {
  custom: {
    50: '#a79d60',
    500: '#7e761d',
    950: '#000000',
  },
}
SCSS
$custom: #7e761d;
$custom-light: #a79d60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e761d",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 29
  },
  "hsl": {
    "h": 55.052,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55657,
    "c": 0.10623,
    "h": 104.1
  },
  "luminance": 0.17481
}

Semantic roles & 50–950 ramp

primary
#7E761D
secondary
#454EB1
accent
#50E642
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E761D

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

Preview Lab → · Contrast checker → · Palette generator →

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