#4D7E18#4D7E18

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

Color values

HEX#4D7E18
RGBrgb(77, 126, 24)
HSLhsl(89, 68%, 29%)
HSVhsv(89, 81%, 49%)
CMYKcmyk(38.9%, 0%, 81%, 50.6%)
CIE-LABlab(47.71, -33.28, 46.26)
CIE-LCHlch(47.71, 56.98, 125.73°)
OKLaboklab(53.81% -0.094 0.1024)
OKLCHoklch(53.81% 0.139 132.6)
XYZxyz(10.6862, 16.5650, 3.4983)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7E18 #49187E
analogous
#7E7C18 #4D7E18 #1A7E18
triadic
#4D7E18 #184D7E #7E184D
tetradic
#4D7E18 #187E7C #49187E #7E181A
square
#4D7E18 #187E7C #49187E #7E181A
split-complementary
#4D7E18 #181A7E #7C187E
monochromatic
#101A05 #2E4B0E #4D7E18 #6CB122 #8BD937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7E18#FFFFFF#000000##FFFFFF
##4D7E181.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)
#7D7023
Tritanopia (blue-blind)
#4E796B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4d7e18;
/* rgb */ color: rgb(77, 126, 24);
/* oklch */ color: oklch(53.8% 0.139 132.6);
Tailwind
colors: {
  custom: {
    50: '#84a45e',
    500: '#4d7e18',
    950: '#000000',
  },
}
SCSS
$custom: #4d7e18;
$custom-light: #84a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7e18",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 88.824,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53805,
    "c": 0.13899,
    "h": 132.6
  },
  "luminance": 0.16565
}

Semantic roles & 50–950 ramp

primary
#4D7E18
secondary
#773FB2
accent
#3DEB90
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7E18

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

Preview Lab → · Contrast checker → · Palette generator →

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