#4E7D27#4E7D27

#4E7D27 is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.7% C 0.127 H 133.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4E7D27
RGBrgb(78, 125, 39)
HSLhsl(93, 52%, 32%)
HSVhsv(93, 69%, 49%)
CMYKcmyk(37.6%, 0%, 68.8%, 51%)
CIE-LABlab(47.54, -31.38, 40.30)
CIE-LCHlch(47.54, 51.08, 127.91°)
OKLaboklab(53.71% -0.0878 0.0922)
OKLCHoklch(53.71% 0.127 133.6)
XYZxyz(10.8415, 16.4329, 4.5197)
Luminance0.1643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D27 #56277D
analogous
#797D27 #4E7D27 #277D2B
triadic
#4E7D27 #274E7D #7D274E
tetradic
#4E7D27 #27797D #56277D #7D2B27
square
#4E7D27 #27797D #56277D #7D2B27
split-complementary
#4E7D27 #2B277D #7D2779
monochromatic
#14200A #314E18 #4E7D27 #6BAC36 #8ACA55

Accessibility & contrast

On white

4.90
#4E7D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4E7D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7D27
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7D27#FFFFFF#000000##FFFFFF
##4E7D271.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731B
Deuteranopia (green-blind)
#7C6F2E
Tritanopia (blue-blind)
#4E786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7d27;
/* rgb */ color: rgb(78, 125, 39);
/* oklch */ color: oklch(53.7% 0.127 133.6);
Tailwind
colors: {
  custom: {
    50: '#83a366',
    500: '#4e7d27',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d27;
$custom-light: #83a366;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d27",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 39
  },
  "hsl": {
    "h": 92.791,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53714,
    "c": 0.12727,
    "h": 133.6
  },
  "luminance": 0.16433
}

Semantic roles & 50–950 ramp

primary
#4E7D27
secondary
#8451AF
accent
#4CDC9B
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7D27

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

Preview Lab → · Contrast checker → · Palette generator →

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