#7E882F#7E882F

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

Color values

HEX#7E882F
RGBrgb(126, 136, 47)
HSLhsl(67, 49%, 36%)
HSVhsv(67, 65%, 53%)
CMYKcmyk(7.4%, 0%, 65.4%, 46.7%)
CIE-LABlab(54.29, -16.26, 44.92)
CIE-LCHlch(54.29, 47.77, 109.90°)
OKLaboklab(60.04% -0.0483 0.1021)
OKLCHoklch(60.04% 0.113 115.3)
XYZxyz(17.9218, 22.2494, 6.0392)
Luminance0.2225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E882F #392F88
analogous
#88652F #7E882F #51882F
triadic
#7E882F #2F7E88 #882F7E
tetradic
#7E882F #2F8865 #392F88 #882F51
square
#7E882F #2F8865 #392F88 #882F51
split-complementary
#7E882F #2F5188 #652F88
monochromatic
#2A2D10 #545B1F #7E882F #A8B53F #BFCA67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E882F#FFFFFF#000000##000000
##7E882F1.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)
#918124
Deuteranopia (green-blind)
#918335
Tritanopia (blue-blind)
#868076
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #7e882f;
/* rgb */ color: rgb(126, 136, 47);
/* oklch */ color: oklch(60.0% 0.113 115.3);
Tailwind
colors: {
  custom: {
    50: '#a6aa6c',
    500: '#7e882f',
    950: '#000000',
  },
}
SCSS
$custom: #7e882f;
$custom-light: #a6aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e882f",
  "rgb": {
    "r": 126,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 66.742,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60035,
    "c": 0.11297,
    "h": 115.3
  },
  "luminance": 0.22249
}

Semantic roles & 50–950 ramp

primary
#7E882F
secondary
#6A61B1
accent
#50D85F
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #7E882F

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

Preview Lab → · Contrast checker → · Palette generator →

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