#4E7028#4E7028

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

Color values

HEX#4E7028
RGBrgb(78, 112, 40)
HSLhsl(88, 47%, 30%)
HSVhsv(88, 64%, 44%)
CMYKcmyk(30.4%, 0%, 64.3%, 56.1%)
CIE-LABlab(43.30, -25.05, 35.24)
CIE-LCHlch(43.30, 43.24, 125.41°)
OKLaboklab(50.27% -0.0703 0.0816)
OKLCHoklch(50.27% 0.108 130.8)
XYZxyz(9.3190, 13.3610, 4.0950)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7028 #4A2870
analogous
#706E28 #4E7028 #2A7028
triadic
#4E7028 #284E70 #70284E
tetradic
#4E7028 #28706E #4A2870 #70282A
square
#4E7028 #28706E #4A2870 #70282A
split-complementary
#4E7028 #282A70 #6E2870
monochromatic
#101708 #2F4318 #4E7028 #6D9D38 #8CC151

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7028#FFFFFF#000000##FFFFFF
##4E70281.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)
#756820
Deuteranopia (green-blind)
#70652D
Tritanopia (blue-blind)
#506B61
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e7028;
/* rgb */ color: rgb(78, 112, 40);
/* oklch */ color: oklch(50.3% 0.108 130.8);
Tailwind
colors: {
  custom: {
    50: '#829965',
    500: '#4e7028',
    950: '#000000',
  },
}
SCSS
$custom: #4e7028;
$custom-light: #829965;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7028",
  "rgb": {
    "r": 78,
    "g": 112,
    "b": 40
  },
  "hsl": {
    "h": 88.333,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50269,
    "c": 0.10774,
    "h": 130.8
  },
  "luminance": 0.13361
}

Semantic roles & 50–950 ramp

primary
#4E7028
secondary
#7851A2
accent
#51D790
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4E7028

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

Preview Lab → · Contrast checker → · Palette generator →

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