#4E7626#4E7626

#4E7626 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 51.8% C 0.118 H 132.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4E7626
RGBrgb(78, 118, 38)
HSLhsl(90, 51%, 31%)
HSVhsv(90, 68%, 46%)
CMYKcmyk(33.9%, 0%, 67.8%, 53.7%)
CIE-LABlab(45.24, -28.17, 38.29)
CIE-LCHlch(45.24, 47.54, 126.34°)
OKLaboklab(51.84% -0.0791 0.0878)
OKLCHoklch(51.84% 0.118 132)
XYZxyz(9.9700, 14.7161, 4.1485)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7626 #4E2676
analogous
#767626 #4E7626 #267626
triadic
#4E7626 #264E76 #76264E
tetradic
#4E7626 #267676 #4E2676 #762626
square
#4E7626 #267676 #4E2676 #762626
split-complementary
#4E7626 #262676 #762676
monochromatic
#111908 #2F4817 #4E7626 #6DA435 #8BC750

Accessibility & contrast

On white

5.33
#4E7626 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4E7626 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7626
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7626#FFFFFF#000000##FFFFFF
##4E76261.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1C
Deuteranopia (green-blind)
#756A2C
Tritanopia (blue-blind)
#4F7166
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e7626;
/* rgb */ color: rgb(78, 118, 38);
/* oklch */ color: oklch(51.8% 0.118 132.0);
Tailwind
colors: {
  custom: {
    50: '#839e65',
    500: '#4e7626',
    950: '#000000',
  },
}
SCSS
$custom: #4e7626;
$custom-light: #839e65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7626",
  "rgb": {
    "r": 78,
    "g": 118,
    "b": 38
  },
  "hsl": {
    "h": 90,
    "s": 51.282,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51841,
    "c": 0.11817,
    "h": 132
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

primary
#4E7626
secondary
#7C4FA8
accent
#4DDB94
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7626

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

Preview Lab → · Contrast checker → · Palette generator →

#4E7626 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva