#4E7A27#4E7A27

#4E7A27 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.9% C 0.123 H 133.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4E7A27
RGBrgb(78, 122, 39)
HSLhsl(92, 52%, 32%)
HSVhsv(92, 68%, 48%)
CMYKcmyk(36.1%, 0%, 68%, 52.2%)
CIE-LABlab(46.56, -29.98, 39.25)
CIE-LCHlch(46.56, 49.39, 127.37°)
OKLaboklab(52.92% -0.0839 0.09)
OKLCHoklch(52.92% 0.123 133)
XYZxyz(10.4675, 15.6848, 4.3950)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A27 #53277A
analogous
#787A27 #4E7A27 #277A2A
triadic
#4E7A27 #274E7A #7A274E
tetradic
#4E7A27 #27787A #53277A #7A2A27
square
#4E7A27 #27787A #53277A #7A2A27
split-complementary
#4E7A27 #2A277A #7A2778
monochromatic
#131D09 #304C18 #4E7A27 #6CA836 #8AC853

Accessibility & contrast

On white

5.08
#4E7A27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4E7A27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7A27
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A27#FFFFFF#000000##FFFFFF
##4E7A271.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711C
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#4E7569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7a27;
/* rgb */ color: rgb(78, 122, 39);
/* oklch */ color: oklch(52.9% 0.123 133.0);
Tailwind
colors: {
  custom: {
    50: '#83a166',
    500: '#4e7a27',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a27;
$custom-light: #83a166;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a27",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 39
  },
  "hsl": {
    "h": 91.807,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52915,
    "c": 0.12305,
    "h": 133
  },
  "luminance": 0.15685
}

Semantic roles & 50–950 ramp

primary
#4E7A27
secondary
#8151AC
accent
#4DDB98
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0F06
muted
#7C7E7A

Preview Lab

Preview with #4E7A27

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

Preview Lab → · Contrast checker → · Palette generator →

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