#7E782E#7E782E

#7E782E is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.095 H 104.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7E782E
RGBrgb(126, 120, 46)
HSLhsl(56, 47%, 34%)
HSVhsv(56, 63%, 49%)
CMYKcmyk(0%, 4.8%, 63.5%, 50.6%)
CIE-LABlab(49.58, -7.65, 40.32)
CIE-LCHlch(49.58, 41.04, 100.75°)
OKLaboklab(56.27% -0.0241 0.0922)
OKLCHoklch(56.27% 0.095 104.7)
XYZxyz(15.8144, 18.0664, 5.2384)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E782E #2E347E
analogous
#7E502E #7E782E #5C7E2E
triadic
#7E782E #2E7E78 #782E7E
tetradic
#7E782E #2E7E50 #2E347E #7E2E5C
square
#7E782E #2E7E50 #2E347E #7E2E5C
split-complementary
#7E782E #2E5C7E #502E7E
monochromatic
#24230D #514D1E #7E782E #ABA33E #C5BE61

Accessibility & contrast

On white

4.55
#7E782E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7E782E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E782E
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E782E#FFFFFF#000000##000000
##7E782E1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#827425
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#877068
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7e782e;
/* rgb */ color: rgb(126, 120, 46);
/* oklch */ color: oklch(56.3% 0.095 104.7);
Tailwind
colors: {
  custom: {
    50: '#a69e6a',
    500: '#7e782e',
    950: '#000000',
  },
}
SCSS
$custom: #7e782e;
$custom-light: #a69e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e782e",
  "rgb": {
    "r": 126,
    "g": 120,
    "b": 46
  },
  "hsl": {
    "h": 55.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56268,
    "c": 0.09535,
    "h": 104.7
  },
  "luminance": 0.18066
}

Semantic roles & 50–950 ramp

primary
#7E782E
secondary
#5C62AC
accent
#5CD652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #7E782E

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

Preview Lab → · Contrast checker → · Palette generator →

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