#4E7B1E#4E7B1E

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

Color values

HEX#4E7B1E
RGBrgb(78, 123, 30)
HSLhsl(89, 61%, 30%)
HSVhsv(89, 76%, 48%)
CMYKcmyk(36.6%, 0%, 75.6%, 51.8%)
CIE-LABlab(46.82, -31.15, 43.28)
CIE-LCHlch(46.82, 53.33, 125.75°)
OKLaboklab(53.1% -0.0879 0.0971)
OKLCHoklch(53.1% 0.131 132.2)
XYZxyz(10.4591, 15.8789, 3.7419)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B1E #4B1E7B
analogous
#7B791E #4E7B1E #207B1E
triadic
#4E7B1E #1E4E7B #7B1E4E
tetradic
#4E7B1E #1E7B79 #4B1E7B #7B1E20
square
#4E7B1E #1E7B79 #4B1E7B #7B1E20
split-complementary
#4E7B1E #1E207B #791E7B
monochromatic
#101906 #2F4A12 #4E7B1E #6DAC2A #8CD142

Accessibility & contrast

On white

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

On black

4.18
#4E7B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E7B1E#FFFFFF#000000##FFFFFF
##4E7B1E1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#4F7669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7b1e;
/* rgb */ color: rgb(78, 123, 30);
/* oklch */ color: oklch(53.1% 0.131 132.2);
Tailwind
colors: {
  custom: {
    50: '#84a161',
    500: '#4e7b1e',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b1e;
$custom-light: #84a161;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b1e",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 89.032,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.53103,
    "c": 0.13095,
    "h": 132.2
  },
  "luminance": 0.15879
}

Semantic roles & 50–950 ramp

primary
#4E7B1E
secondary
#7946AE
accent
#44E491
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #4E7B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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