#4D7E13#4D7E13

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

Color values

HEX#4D7E13
RGBrgb(77, 126, 19)
HSLhsl(87, 74%, 28%)
HSVhsv(87, 85%, 49%)
CMYKcmyk(38.9%, 0%, 84.9%, 50.6%)
CIE-LABlab(47.68, -33.53, 47.76)
CIE-LCHlch(47.68, 58.36, 125.07°)
OKLaboklab(53.78% -0.095 0.1047)
OKLCHoklch(53.78% 0.141 132.2)
XYZxyz(10.6388, 16.5460, 3.2491)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7E13 #44137E
analogous
#7E7913 #4D7E13 #177E13
triadic
#4D7E13 #134D7E #7E134D
tetradic
#4D7E13 #137E79 #44137E #7E1317
square
#4D7E13 #137E79 #44137E #7E1317
split-complementary
#4D7E13 #13177E #79137E
monochromatic
#101B04 #2C490B #4D7E13 #6DB31B #8DDF2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7E13#FFFFFF#000000##FFFFFF
##4D7E131.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)
#7D7020
Tritanopia (blue-blind)
#4E786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d7e13;
/* rgb */ color: rgb(77, 126, 19);
/* oklch */ color: oklch(53.8% 0.141 132.2);
Tailwind
colors: {
  custom: {
    50: '#84a45c',
    500: '#4d7e13',
    950: '#000000',
  },
}
SCSS
$custom: #4d7e13;
$custom-light: #84a45c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7e13",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 87.477,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53778,
    "c": 0.14142,
    "h": 132.2
  },
  "luminance": 0.16547
}

Semantic roles & 50–950 ramp

primary
#4D7E13
secondary
#7139B4
accent
#37F08C
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F04
muted
#7C7F79

Preview Lab

Preview with #4D7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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