#4E7C27#4E7C27

#4E7C27 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.4% C 0.126 H 133.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4E7C27
RGBrgb(78, 124, 39)
HSLhsl(92, 52%, 32%)
HSVhsv(92, 69%, 49%)
CMYKcmyk(37.1%, 0%, 68.5%, 51.4%)
CIE-LABlab(47.21, -30.92, 39.95)
CIE-LCHlch(47.21, 50.52, 127.74°)
OKLaboklab(53.45% -0.0865 0.0914)
OKLCHoklch(53.45% 0.126 133.4)
XYZxyz(10.7156, 16.1810, 4.4777)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C27 #55277C
analogous
#797C27 #4E7C27 #277C2B
triadic
#4E7C27 #274E7C #7C274E
tetradic
#4E7C27 #27797C #55277C #7C2B27
square
#4E7C27 #27797C #55277C #7C2B27
split-complementary
#4E7C27 #2B277C #7C2779
monochromatic
#131F0A #314D18 #4E7C27 #6BAB36 #8AC954

Accessibility & contrast

On white

4.96
#4E7C27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4E7C27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7C27
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7C27#FFFFFF#000000##FFFFFF
##4E7C271.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721C
Deuteranopia (green-blind)
#7B6F2E
Tritanopia (blue-blind)
#4E776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c27;
/* rgb */ color: rgb(78, 124, 39);
/* oklch */ color: oklch(53.4% 0.126 133.4);
Tailwind
colors: {
  custom: {
    50: '#83a266',
    500: '#4e7c27',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c27;
$custom-light: #83a266;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c27",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 39
  },
  "hsl": {
    "h": 92.471,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53448,
    "c": 0.12587,
    "h": 133.4
  },
  "luminance": 0.16181
}

Semantic roles & 50–950 ramp

primary
#4E7C27
secondary
#8351AE
accent
#4CDC9A
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7C27

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

Preview Lab → · Contrast checker → · Palette generator →

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