#7E8D33#7E8D33

#7E8D33 is a mid, moderate yellow-green. Relative luminance 0.237; OKLCH L 61.3% C 0.116 H 118.0°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7E8D33
RGBrgb(126, 141, 51)
HSLhsl(70, 47%, 38%)
HSVhsv(70, 64%, 55%)
CMYKcmyk(10.6%, 0%, 63.8%, 44.7%)
CIE-LABlab(55.81, -18.58, 44.76)
CIE-LCHlch(55.81, 48.46, 112.55°)
OKLaboklab(61.27% -0.0544 0.1024)
OKLCHoklch(61.27% 0.116 118)
XYZxyz(18.7269, 23.7246, 6.7241)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8D33 #42338D
analogous
#8D6F33 #7E8D33 #518D33
triadic
#7E8D33 #337E8D #8D337E
tetradic
#7E8D33 #338D6F #42338D #8D3351
square
#7E8D33 #338D6F #42338D #8D3351
split-complementary
#7E8D33 #33518D #6F338D
monochromatic
#2E3312 #566023 #7E8D33 #A6BA43 #BCCB6F

Accessibility & contrast

On white

3.66
#7E8D33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#7E8D33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8D33
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8D33#FFFFFF#000000##000000
##7E8D331.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#968628
Deuteranopia (green-blind)
#948639
Tritanopia (blue-blind)
#85857A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #7e8d33;
/* rgb */ color: rgb(126, 141, 51);
/* oklch */ color: oklch(61.3% 0.116 118.0);
Tailwind
colors: {
  custom: {
    50: '#a6ae6f',
    500: '#7e8d33',
    950: '#000000',
  },
}
SCSS
$custom: #7e8d33;
$custom-light: #a6ae6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8d33",
  "rgb": {
    "r": 126,
    "g": 141,
    "b": 51
  },
  "hsl": {
    "h": 70,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61266,
    "c": 0.11593,
    "h": 118
  },
  "luminance": 0.23724
}

Semantic roles & 50–950 ramp

primary
#7E8D33
secondary
#7569B3
accent
#51D767
background
#FAFAF6
surface
#F4F4EC
border
#CECEC7
text
#101008
muted
#7F7F7B

Preview Lab

Preview with #7E8D33

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

Preview Lab → · Contrast checker → · Palette generator →

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