#4E7727#4E7727

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

Color values

HEX#4E7727
RGBrgb(78, 119, 39)
HSLhsl(91, 51%, 31%)
HSVhsv(91, 67%, 47%)
CMYKcmyk(34.5%, 0%, 67.2%, 53.3%)
CIE-LABlab(45.58, -28.56, 38.20)
CIE-LCHlch(45.58, 47.70, 126.79°)
OKLaboklab(52.12% -0.0801 0.0878)
OKLCHoklch(52.12% 0.119 132.4)
XYZxyz(10.1048, 14.9595, 4.2741)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7727 #502777
analogous
#767727 #4E7727 #277728
triadic
#4E7727 #274E77 #77274E
tetradic
#4E7727 #277677 #502777 #772827
square
#4E7727 #277677 #502777 #772827
split-complementary
#4E7727 #282777 #772776
monochromatic
#121B09 #304918 #4E7727 #6CA536 #8BC652

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7727#FFFFFF#000000##FFFFFF
##4E77271.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)
#7C6E1D
Deuteranopia (green-blind)
#766B2D
Tritanopia (blue-blind)
#4F7266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e7727;
/* rgb */ color: rgb(78, 119, 39);
/* oklch */ color: oklch(52.1% 0.119 132.4);
Tailwind
colors: {
  custom: {
    50: '#839e65',
    500: '#4e7727',
    950: '#000000',
  },
}
SCSS
$custom: #4e7727;
$custom-light: #839e65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7727",
  "rgb": {
    "r": 78,
    "g": 119,
    "b": 39
  },
  "hsl": {
    "h": 90.75,
    "s": 50.633,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52117,
    "c": 0.11878,
    "h": 132.4
  },
  "luminance": 0.1496
}

Semantic roles & 50–950 ramp

primary
#4E7727
secondary
#7E51A9
accent
#4EDA96
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7727

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

Preview Lab → · Contrast checker → · Palette generator →

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