#4E7B1A#4E7B1A

#4E7B1A is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.1% C 0.133 H 131.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4E7B1A
RGBrgb(78, 123, 26)
HSLhsl(88, 65%, 29%)
HSVhsv(88, 79%, 48%)
CMYKcmyk(36.6%, 0%, 78.9%, 51.8%)
CIE-LABlab(46.79, -31.41, 44.73)
CIE-LCHlch(46.79, 54.66, 125.08°)
OKLaboklab(53.07% -0.0889 0.0995)
OKLCHoklch(53.07% 0.133 131.8)
XYZxyz(10.4112, 15.8598, 3.4898)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B1A #471A7B
analogous
#7B781A #4E7B1A #1E7B1A
triadic
#4E7B1A #1A4E7B #7B1A4E
tetradic
#4E7B1A #1A7B78 #471A7B #7B1A1E
square
#4E7B1A #1A7B78 #471A7B #7B1A1E
split-complementary
#4E7B1A #1A1E7B #781A7B
monochromatic
#101905 #2E480F #4E7B1A #6EAE25 #8DD53A

Accessibility & contrast

On white

5.03
#4E7B1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4E7B1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B1A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B1A#FFFFFF#000000##FFFFFF
##4E7B1A1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817103
Deuteranopia (green-blind)
#7A6E24
Tritanopia (blue-blind)
#4F7669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b1a;
/* rgb */ color: rgb(78, 123, 26);
/* oklch */ color: oklch(53.1% 0.133 131.8);
Tailwind
colors: {
  custom: {
    50: '#84a15f',
    500: '#4e7b1a',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b1a;
$custom-light: #84a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b1a",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 87.835,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53074,
    "c": 0.13341,
    "h": 131.8
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#4E7B1A
secondary
#7442AF
accent
#40E88E
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4E7B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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