#4D7D18#4D7D18

#4D7D18 is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.5% C 0.138 H 132.4°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4D7D18
RGBrgb(77, 125, 24)
HSLhsl(89, 68%, 29%)
HSVhsv(89, 81%, 49%)
CMYKcmyk(38.4%, 0%, 80.8%, 51%)
CIE-LABlab(47.38, -32.83, 45.95)
CIE-LCHlch(47.38, 56.47, 125.54°)
OKLaboklab(53.54% -0.0928 0.1017)
OKLCHoklch(53.54% 0.138 132.4)
XYZxyz(10.5589, 16.3105, 3.4559)
Luminance0.1631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7D18 #48187D
analogous
#7D7B18 #4D7D18 #1B7D18
triadic
#4D7D18 #184D7D #7D184D
tetradic
#4D7D18 #187D7B #48187D #7D181B
square
#4D7D18 #187D7B #48187D #7D181B
split-complementary
#4D7D18 #181B7D #7B187D
monochromatic
#101A05 #2D4A0E #4D7D18 #6DB022 #8CD937

Accessibility & contrast

On white

4.93
#4D7D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#4D7D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D7D18
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7D18#FFFFFF#000000##FFFFFF
##4D7D181.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#4E786A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d7d18;
/* rgb */ color: rgb(77, 125, 24);
/* oklch */ color: oklch(53.5% 0.138 132.4);
Tailwind
colors: {
  custom: {
    50: '#83a35e',
    500: '#4d7d18',
    950: '#000000',
  },
}
SCSS
$custom: #4d7d18;
$custom-light: #83a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7d18",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 88.515,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53537,
    "c": 0.13769,
    "h": 132.4
  },
  "luminance": 0.16311
}

Semantic roles & 50–950 ramp

primary
#4D7D18
secondary
#763FB2
accent
#3DEB90
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7D18

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

Preview Lab → · Contrast checker → · Palette generator →

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