#4D7E14#4D7E14

#4D7E14 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.8% C 0.141 H 132.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4D7E14
RGBrgb(77, 126, 20)
HSLhsl(88, 73%, 29%)
HSVhsv(88, 84%, 49%)
CMYKcmyk(38.9%, 0%, 84.1%, 50.6%)
CIE-LABlab(47.69, -33.48, 47.48)
CIE-LCHlch(47.69, 58.10, 125.19°)
OKLaboklab(53.78% -0.0948 0.1043)
OKLCHoklch(53.78% 0.141 132.3)
XYZxyz(10.6476, 16.5495, 3.2950)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7E14 #45147E
analogous
#7E7A14 #4D7E14 #187E14
triadic
#4D7E14 #144D7E #7E144D
tetradic
#4D7E14 #147E7A #45147E #7E1418
square
#4D7E14 #147E7A #45147E #7E1418
split-complementary
#4D7E14 #14187E #7A147E
monochromatic
#101A04 #2D490C #4D7E14 #6DB31C #8DDE2E

Accessibility & contrast

On white

4.87
#4D7E14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4D7E14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7E14
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7E14#FFFFFF#000000##FFFFFF
##4D7E141.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7D7021
Tritanopia (blue-blind)
#4E786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d7e14;
/* rgb */ color: rgb(77, 126, 20);
/* oklch */ color: oklch(53.8% 0.141 132.3);
Tailwind
colors: {
  custom: {
    50: '#84a45d',
    500: '#4d7e14',
    950: '#000000',
  },
}
SCSS
$custom: #4d7e14;
$custom-light: #84a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7e14",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 20
  },
  "hsl": {
    "h": 87.736,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53783,
    "c": 0.14097,
    "h": 132.3
  },
  "luminance": 0.1655
}

Semantic roles & 50–950 ramp

primary
#4D7E14
secondary
#723AB3
accent
#38EF8D
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7E14

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

Preview Lab → · Contrast checker → · Palette generator →

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