#4D7E15#4D7E15

#4D7E15 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#4D7E15
RGBrgb(77, 126, 21)
HSLhsl(88, 71%, 29%)
HSVhsv(88, 83%, 49%)
CMYKcmyk(38.9%, 0%, 83.3%, 50.6%)
CIE-LABlab(47.69, -33.43, 47.19)
CIE-LCHlch(47.69, 57.83, 125.32°)
OKLaboklab(53.79% -0.0946 0.1038)
OKLCHoklch(53.79% 0.141 132.3)
XYZxyz(10.6567, 16.5532, 3.3429)
Luminance0.1655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7E15 #46157E
analogous
#7E7B15 #4D7E15 #197E15
triadic
#4D7E15 #154D7E #7E154D
tetradic
#4D7E15 #157E7B #46157E #7E1519
square
#4D7E15 #157E7B #46157E #7E1519
split-complementary
#4D7E15 #15197E #7B157E
monochromatic
#101A04 #2D4A0C #4D7E15 #6DB21E #8CDD31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7E15#FFFFFF#000000##FFFFFF
##4D7E151.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: #4d7e15;
/* rgb */ color: rgb(77, 126, 21);
/* oklch */ color: oklch(53.8% 0.141 132.3);
Tailwind
colors: {
  custom: {
    50: '#84a45d',
    500: '#4d7e15',
    950: '#000000',
  },
}
SCSS
$custom: #4d7e15;
$custom-light: #84a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7e15",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 88,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53788,
    "c": 0.1405,
    "h": 132.3
  },
  "luminance": 0.16554
}

Semantic roles & 50–950 ramp

primary
#4D7E15
secondary
#733CB3
accent
#3AEE8E
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7E15

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

Preview Lab → · Contrast checker → · Palette generator →

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