#4C7E27#4C7E27

#4C7E27 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.130 H 134.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4C7E27
RGBrgb(76, 126, 39)
HSLhsl(94, 53%, 32%)
HSVhsv(94, 69%, 49%)
CMYKcmyk(39.7%, 0%, 69%, 50.6%)
CIE-LABlab(47.76, -32.59, 40.50)
CIE-LCHlch(47.76, 51.98, 128.82°)
OKLaboklab(53.86% -0.0909 0.0926)
OKLCHoklch(53.86% 0.13 134.5)
XYZxyz(10.8073, 16.6042, 4.5545)
Luminance0.1661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7E27 #59277E
analogous
#777E27 #4C7E27 #277E2E
triadic
#4C7E27 #274C7E #7E274C
tetradic
#4C7E27 #27777E #59277E #7E2E27
square
#4C7E27 #27777E #59277E #7E2E27
split-complementary
#4C7E27 #2E277E #7E2777
monochromatic
#14210A #304F19 #4C7E27 #68AD35 #87CA55

Accessibility & contrast

On white

4.86
#4C7E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4C7E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C7E27
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7E27#FFFFFF#000000##FFFFFF
##4C7E271.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83741B
Deuteranopia (green-blind)
#7C702E
Tritanopia (blue-blind)
#4B796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4c7e27;
/* rgb */ color: rgb(76, 126, 39);
/* oklch */ color: oklch(53.9% 0.130 134.5);
Tailwind
colors: {
  custom: {
    50: '#82a466',
    500: '#4c7e27',
    950: '#000000',
  },
}
SCSS
$custom: #4c7e27;
$custom-light: #82a466;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7e27",
  "rgb": {
    "r": 76,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 94.483,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53865,
    "c": 0.12979,
    "h": 134.5
  },
  "luminance": 0.16605
}

Semantic roles & 50–950 ramp

primary
#4C7E27
secondary
#8752AF
accent
#4CDC9F
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4C7E27

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

Preview Lab → · Contrast checker → · Palette generator →

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