#4E7E1F#4E7E1F

#4E7E1F is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.134 H 132.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4E7E1F
RGBrgb(78, 126, 31)
HSLhsl(90, 61%, 31%)
HSVhsv(90, 75%, 49%)
CMYKcmyk(38.1%, 0%, 75.4%, 50.6%)
CIE-LABlab(47.80, -32.46, 43.87)
CIE-LCHlch(47.80, 54.58, 126.50°)
OKLaboklab(53.91% -0.0914 0.0985)
OKLCHoklch(53.91% 0.134 132.8)
XYZxyz(10.8499, 16.6399, 3.9362)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E1F #4F1F7E
analogous
#7D7E1F #4E7E1F #1F7E1F
triadic
#4E7E1F #1F4E7E #7E1F4E
tetradic
#4E7E1F #1F7D7E #4F1F7E #7E1F1F
square
#4E7E1F #1F7D7E #4F1F7E #7E1F1F
split-complementary
#4E7E1F #1F1F7E #7E1F7D
monochromatic
#111C07 #304D13 #4E7E1F #6CAF2B #8BD146

Accessibility & contrast

On white

4.85
#4E7E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4E7E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E1F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E1F#FFFFFF#000000##FFFFFF
##4E7E1F1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83740D
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#4F796C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7e1f;
/* rgb */ color: rgb(78, 126, 31);
/* oklch */ color: oklch(53.9% 0.134 132.8);
Tailwind
colors: {
  custom: {
    50: '#84a462',
    500: '#4e7e1f',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e1f;
$custom-light: #84a462;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e1f",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 31
  },
  "hsl": {
    "h": 90.316,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53911,
    "c": 0.13434,
    "h": 132.8
  },
  "luminance": 0.1664
}

Semantic roles & 50–950 ramp

primary
#4E7E1F
secondary
#7D48B1
accent
#44E495
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4E7E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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