#4E7F14#4E7F14

#4E7F14 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.142 H 132.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4E7F14
RGBrgb(78, 127, 20)
HSLhsl(87, 73%, 29%)
HSVhsv(87, 84%, 50%)
CMYKcmyk(38.6%, 0%, 84.3%, 50.2%)
CIE-LABlab(48.07, -33.55, 47.85)
CIE-LCHlch(48.07, 58.44, 125.04°)
OKLaboklab(54.11% -0.0951 0.105)
OKLCHoklch(54.11% 0.142 132.2)
XYZxyz(10.8574, 16.8485, 3.3417)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7F14 #45147F
analogous
#7F7B14 #4E7F14 #187F14
triadic
#4E7F14 #144E7F #7F144E
tetradic
#4E7F14 #147F7B #45147F #7F1418
square
#4E7F14 #147F7B #45147F #7F1418
split-complementary
#4E7F14 #14187F #7B147F
monochromatic
#101A04 #2E4A0C #4E7F14 #6EB41C #8EDE2F

Accessibility & contrast

On white

4.81
#4E7F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#4E7F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7F14
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7F14#FFFFFF#000000##FFFFFF
##4E7F141.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7E7121
Tritanopia (blue-blind)
#4F796C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7f14;
/* rgb */ color: rgb(78, 127, 20);
/* oklch */ color: oklch(54.1% 0.142 132.2);
Tailwind
colors: {
  custom: {
    50: '#84a45d',
    500: '#4e7f14',
    950: '#000000',
  },
}
SCSS
$custom: #4e7f14;
$custom-light: #84a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7f14",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 87.477,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54109,
    "c": 0.14168,
    "h": 132.2
  },
  "luminance": 0.16849
}

Semantic roles & 50–950 ramp

primary
#4E7F14
secondary
#723BB4
accent
#38EF8C
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4E7F14

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

Preview Lab → · Contrast checker → · Palette generator →

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