#4E7C28#4E7C28

#4E7C28 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.5% C 0.125 H 133.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4E7C28
RGBrgb(78, 124, 40)
HSLhsl(93, 51%, 32%)
HSVhsv(93, 68%, 49%)
CMYKcmyk(37.1%, 0%, 67.7%, 51.4%)
CIE-LABlab(47.22, -30.83, 39.51)
CIE-LCHlch(47.22, 50.12, 127.96°)
OKLaboklab(53.46% -0.0862 0.0907)
OKLCHoklch(53.46% 0.125 133.5)
XYZxyz(10.7324, 16.1877, 4.5661)
Luminance0.1619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C28 #56287C
analogous
#787C28 #4E7C28 #287C2C
triadic
#4E7C28 #284E7C #7C284E
tetradic
#4E7C28 #28787C #56287C #7C2C28
square
#4E7C28 #28787C #56287C #7C2C28
split-complementary
#4E7C28 #2C287C #7C2878
monochromatic
#141F0A #314E19 #4E7C28 #6BAA37 #8AC856

Accessibility & contrast

On white

4.96
#4E7C28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4E7C28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7C28
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7C28#FFFFFF#000000##FFFFFF
##4E7C281.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721D
Deuteranopia (green-blind)
#7B6F2F
Tritanopia (blue-blind)
#4E776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7c28;
/* rgb */ color: rgb(78, 124, 40);
/* oklch */ color: oklch(53.5% 0.125 133.5);
Tailwind
colors: {
  custom: {
    50: '#83a266',
    500: '#4e7c28',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c28;
$custom-light: #83a266;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c28",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 92.857,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53458,
    "c": 0.12508,
    "h": 133.5
  },
  "luminance": 0.16188
}

Semantic roles & 50–950 ramp

primary
#4E7C28
secondary
#8452AD
accent
#4DDB9B
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4E7C28

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

Preview Lab → · Contrast checker → · Palette generator →

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