#4E7726#4E7726

#4E7726 is a mid, moderate yellow-green. Relative luminance 0.150; OKLCH L 52.1% C 0.120 H 132.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4E7726
RGBrgb(78, 119, 38)
HSLhsl(90, 52%, 31%)
HSVhsv(90, 68%, 47%)
CMYKcmyk(34.5%, 0%, 68.1%, 53.3%)
CIE-LABlab(45.57, -28.65, 38.64)
CIE-LCHlch(45.57, 48.10, 126.55°)
OKLaboklab(52.11% -0.0804 0.0886)
OKLCHoklch(52.11% 0.12 132.2)
XYZxyz(10.0884, 14.9529, 4.1880)
Luminance0.1495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7726 #4F2677
analogous
#767726 #4E7726 #267726
triadic
#4E7726 #264E77 #77264E
tetradic
#4E7726 #267677 #4F2677 #772626
square
#4E7726 #267677 #4F2677 #772626
split-complementary
#4E7726 #262677 #772676
monochromatic
#111A08 #304917 #4E7726 #6CA535 #8BC750

Accessibility & contrast

On white

5.26
#4E7726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4E7726 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7726
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7726#FFFFFF#000000##FFFFFF
##4E77261.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1B
Deuteranopia (green-blind)
#766B2D
Tritanopia (blue-blind)
#4F7266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e7726;
/* rgb */ color: rgb(78, 119, 38);
/* oklch */ color: oklch(52.1% 0.120 132.2);
Tailwind
colors: {
  custom: {
    50: '#839e65',
    500: '#4e7726',
    950: '#000000',
  },
}
SCSS
$custom: #4e7726;
$custom-light: #839e65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7726",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 38
  },
  "hsl": {
    "h": 90.37,
    "s": 51.592,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52107,
    "c": 0.1196,
    "h": 132.2
  },
  "luminance": 0.14953
}

Semantic roles & 50–950 ramp

primary
#4E7726
secondary
#7D4FA9
accent
#4DDB95
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7726

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

Preview Lab → · Contrast checker → · Palette generator →

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