#4E7E27#4E7E27

#4E7E27 is a mid, vivid yellow-green. Relative luminance 0.167; OKLCH L 54.0% C 0.129 H 133.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4E7E27
RGBrgb(78, 126, 39)
HSLhsl(93, 53%, 32%)
HSVhsv(93, 69%, 49%)
CMYKcmyk(38.1%, 0%, 69%, 50.6%)
CIE-LABlab(47.86, -31.84, 40.65)
CIE-LCHlch(47.86, 51.63, 128.08°)
OKLaboklab(53.98% -0.089 0.0929)
OKLCHoklch(53.98% 0.129 133.8)
XYZxyz(10.9688, 16.6874, 4.5621)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E27 #57277E
analogous
#7A7E27 #4E7E27 #277E2B
triadic
#4E7E27 #274E7E #7E274E
tetradic
#4E7E27 #277A7E #57277E #7E2B27
square
#4E7E27 #277A7E #57277E #7E2B27
split-complementary
#4E7E27 #2B277E #7E277A
monochromatic
#14210A #314F19 #4E7E27 #6BAD35 #8ACA55

Accessibility & contrast

On white

4.84
#4E7E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#4E7E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E27
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E27#FFFFFF#000000##FFFFFF
##4E7E271.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7e27;
/* rgb */ color: rgb(78, 126, 39);
/* oklch */ color: oklch(54.0% 0.129 133.8);
Tailwind
colors: {
  custom: {
    50: '#83a466',
    500: '#4e7e27',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e27;
$custom-light: #83a466;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e27",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 93.103,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5398,
    "c": 0.12867,
    "h": 133.8
  },
  "luminance": 0.16688
}

Semantic roles & 50–950 ramp

primary
#4E7E27
secondary
#8552AF
accent
#4CDC9B
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7E27

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

Preview Lab → · Contrast checker → · Palette generator →

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