#4E7027#4E7027

#4E7027 is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.3% C 0.109 H 130.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4E7027
RGBrgb(78, 112, 39)
HSLhsl(88, 48%, 30%)
HSVhsv(88, 65%, 44%)
CMYKcmyk(30.4%, 0%, 65.2%, 56.1%)
CIE-LABlab(43.29, -25.15, 35.71)
CIE-LCHlch(43.29, 43.67, 125.16°)
OKLaboklab(50.26% -0.0707 0.0825)
OKLCHoklch(50.26% 0.109 130.6)
XYZxyz(9.3022, 13.3543, 4.0066)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7027 #492770
analogous
#706E27 #4E7027 #2A7027
triadic
#4E7027 #274E70 #70274E
tetradic
#4E7027 #27706E #492770 #70272A
square
#4E7027 #27706E #492770 #70272A
split-complementary
#4E7027 #272A70 #6E2770
monochromatic
#101708 #2E4317 #4E7027 #6E9D37 #8DC250

Accessibility & contrast

On white

5.72
#4E7027 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4E7027 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7027
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7027#FFFFFF#000000##FFFFFF
##4E70271.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75681E
Deuteranopia (green-blind)
#70652D
Tritanopia (blue-blind)
#506B61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e7027;
/* rgb */ color: rgb(78, 112, 39);
/* oklch */ color: oklch(50.3% 0.109 130.6);
Tailwind
colors: {
  custom: {
    50: '#829965',
    500: '#4e7027',
    950: '#000000',
  },
}
SCSS
$custom: #4e7027;
$custom-light: #829965;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7027",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 39
  },
  "hsl": {
    "h": 87.945,
    "s": 48.344,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50258,
    "c": 0.10863,
    "h": 130.6
  },
  "luminance": 0.13355
}

Semantic roles & 50–950 ramp

primary
#4E7027
secondary
#7750A2
accent
#50D88F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7027

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

Preview Lab → · Contrast checker → · Palette generator →

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