#7E882E#7E882E

#7E882E is a mid, moderate yellow. Relative luminance 0.222; OKLCH L 60.0% C 0.114 H 115.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7E882E
RGBrgb(126, 136, 46)
HSLhsl(67, 49%, 36%)
HSVhsv(67, 66%, 53%)
CMYKcmyk(7.4%, 0%, 66.2%, 46.7%)
CIE-LABlab(54.28, -16.33, 45.35)
CIE-LCHlch(54.28, 48.20, 109.81°)
OKLaboklab(60.03% -0.0486 0.1029)
OKLCHoklch(60.03% 0.114 115.3)
XYZxyz(17.9019, 22.2415, 5.9342)
Luminance0.2224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E882E #382E88
analogous
#88652E #7E882E #51882E
triadic
#7E882E #2E7E88 #882E7E
tetradic
#7E882E #2E8865 #382E88 #882E51
square
#7E882E #2E8865 #382E88 #882E51
split-complementary
#7E882E #2E5188 #652E88
monochromatic
#292D0F #545A1F #7E882E #A8B63D #C0CB65

Accessibility & contrast

On white

3.85
#7E882E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#7E882E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E882E
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E882E#FFFFFF#000000##000000
##7E882E1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#928122
Deuteranopia (green-blind)
#918334
Tritanopia (blue-blind)
#868075
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e882e;
/* rgb */ color: rgb(126, 136, 46);
/* oklch */ color: oklch(60.0% 0.114 115.3);
Tailwind
colors: {
  custom: {
    50: '#a6aa6c',
    500: '#7e882e',
    950: '#000000',
  },
}
SCSS
$custom: #7e882e;
$custom-light: #a6aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e882e",
  "rgb": {
    "r": 126,
    "g": 136,
    "b": 46
  },
  "hsl": {
    "h": 66.667,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60026,
    "c": 0.11379,
    "h": 115.3
  },
  "luminance": 0.22241
}

Semantic roles & 50–950 ramp

primary
#7E882E
secondary
#6960B2
accent
#4FD95E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7E882E

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

Preview Lab → · Contrast checker → · Palette generator →

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