#4E7D1B#4E7D1B

#4E7D1B is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.6% C 0.135 H 132.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4E7D1B
RGBrgb(78, 125, 27)
HSLhsl(89, 64%, 30%)
HSVhsv(89, 78%, 49%)
CMYKcmyk(37.6%, 0%, 78.4%, 51%)
CIE-LABlab(47.45, -32.27, 45.01)
CIE-LCHlch(47.45, 55.38, 125.64°)
OKLaboklab(53.62% -0.0911 0.1002)
OKLCHoklch(53.62% 0.135 132.3)
XYZxyz(10.6732, 16.3656, 3.6332)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D1B #4A1B7D
analogous
#7D7B1B #4E7D1B #1D7D1B
triadic
#4E7D1B #1B4E7D #7D1B4E
tetradic
#4E7D1B #1B7D7B #4A1B7D #7D1B1D
square
#4E7D1B #1B7D7B #4A1B7D #7D1B1D
split-complementary
#4E7D1B #1B1D7D #7B1B7D
monochromatic
#101905 #2F4B10 #4E7D1B #6DAF26 #8CD53D

Accessibility & contrast

On white

4.91
#4E7D1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#4E7D1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7D1B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7D1B#FFFFFF#000000##FFFFFF
##4E7D1B1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837305
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#4F786A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7d1b;
/* rgb */ color: rgb(78, 125, 27);
/* oklch */ color: oklch(53.6% 0.135 132.3);
Tailwind
colors: {
  custom: {
    50: '#84a35f',
    500: '#4e7d1b',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d1b;
$custom-light: #84a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d1b",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 27
  },
  "hsl": {
    "h": 88.776,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53615,
    "c": 0.13546,
    "h": 132.3
  },
  "luminance": 0.16366
}

Semantic roles & 50–950 ramp

primary
#4E7D1B
secondary
#7843B1
accent
#40E790
background
#F8FAF5
surface
#EFF3EA
border
#CACDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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