#4E7627#4E7627

#4E7627 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 51.9% C 0.117 H 132.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4E7627
RGBrgb(78, 118, 39)
HSLhsl(90, 50%, 31%)
HSVhsv(90, 67%, 46%)
CMYKcmyk(33.9%, 0%, 66.9%, 53.7%)
CIE-LABlab(45.25, -28.08, 37.85)
CIE-LCHlch(45.25, 47.13, 126.58°)
OKLaboklab(51.85% -0.0787 0.087)
OKLCHoklch(51.85% 0.117 132.2)
XYZxyz(9.9864, 14.7227, 4.2347)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7627 #4F2776
analogous
#757627 #4E7627 #277628
triadic
#4E7627 #274E76 #76274E
tetradic
#4E7627 #277576 #4F2776 #762827
square
#4E7627 #277576 #4F2776 #762827
split-complementary
#4E7627 #282776 #762775
monochromatic
#111A09 #304818 #4E7627 #6CA436 #8BC652

Accessibility & contrast

On white

5.32
#4E7627 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4E7627
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7627#FFFFFF#000000##FFFFFF
##4E76271.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7627;
/* rgb */ color: rgb(78, 118, 39);
/* oklch */ color: oklch(51.9% 0.117 132.2);
Tailwind
colors: {
  custom: {
    50: '#839e65',
    500: '#4e7627',
    950: '#000000',
  },
}
SCSS
$custom: #4e7627;
$custom-light: #839e65;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7627",
  "rgb": {
    "r": 78,
    "g": 118,
    "b": 39
  },
  "hsl": {
    "h": 90.38,
    "s": 50.318,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51851,
    "c": 0.11735,
    "h": 132.2
  },
  "luminance": 0.14723
}

Semantic roles & 50–950 ramp

primary
#4E7627
secondary
#7D51A8
accent
#4EDA95
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7627

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

Preview Lab → · Contrast checker → · Palette generator →

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