#4E7F27#4E7F27

#4E7F27 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.2% C 0.130 H 134.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4E7F27
RGBrgb(78, 127, 39)
HSLhsl(93, 53%, 33%)
HSVhsv(93, 69%, 50%)
CMYKcmyk(38.6%, 0%, 69.3%, 50.2%)
CIE-LABlab(48.19, -32.30, 40.99)
CIE-LCHlch(48.19, 52.19, 128.24°)
OKLaboklab(54.25% -0.0903 0.0936)
OKLCHoklch(54.25% 0.13 134)
XYZxyz(11.0973, 16.9444, 4.6049)
Luminance0.1694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F27 #58277F
analogous
#7A7F27 #4E7F27 #277F2C
triadic
#4E7F27 #274E7F #7F274E
tetradic
#4E7F27 #277A7F #58277F #7F2C27
square
#4E7F27 #277A7F #58277F #7F2C27
split-complementary
#4E7F27 #2C277F #7F277A
monochromatic
#14210A #315019 #4E7F27 #6BAE35 #8ACB55

Accessibility & contrast

On white

4.78
#4E7F27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4E7F27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7F27
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F27#FFFFFF#000000##FFFFFF
##4E7F271.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751B
Deuteranopia (green-blind)
#7D712E
Tritanopia (blue-blind)
#4E7A6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7f27;
/* rgb */ color: rgb(78, 127, 39);
/* oklch */ color: oklch(54.2% 0.130 134.0);
Tailwind
colors: {
  custom: {
    50: '#84a466',
    500: '#4e7f27',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f27;
$custom-light: #84a466;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f27",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 39
  },
  "hsl": {
    "h": 93.409,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54247,
    "c": 0.13007,
    "h": 134
  },
  "luminance": 0.16945
}

Semantic roles & 50–950 ramp

primary
#4E7F27
secondary
#8652B0
accent
#4BDC9C
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7F27

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

Preview Lab → · Contrast checker → · Palette generator →

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