#4D7D14#4D7D14

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

Color values

HEX#4D7D14
RGBrgb(77, 125, 20)
HSLhsl(87, 72%, 28%)
HSVhsv(87, 84%, 49%)
CMYKcmyk(38.4%, 0%, 84%, 51%)
CIE-LABlab(47.36, -33.03, 47.18)
CIE-LCHlch(47.36, 57.60, 125.00°)
OKLaboklab(53.51% -0.0936 0.1037)
OKLCHoklch(53.51% 0.14 132.1)
XYZxyz(10.5203, 16.2951, 3.2526)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7D14 #44147D
analogous
#7D7814 #4D7D14 #187D14
triadic
#4D7D14 #144D7D #7D144D
tetradic
#4D7D14 #147D78 #44147D #7D1418
square
#4D7D14 #147D78 #44147D #7D1418
split-complementary
#4D7D14 #14187D #78147D
monochromatic
#101A04 #2C480C #4D7D14 #6DB21C #8DDE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7D14#FFFFFF#000000##FFFFFF
##4D7D141.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)
#7C6F20
Tritanopia (blue-blind)
#4E776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4d7d14;
/* rgb */ color: rgb(77, 125, 20);
/* oklch */ color: oklch(53.5% 0.140 132.1);
Tailwind
colors: {
  custom: {
    50: '#84a35c',
    500: '#4d7d14',
    950: '#000000',
  },
}
SCSS
$custom: #4d7d14;
$custom-light: #84a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7d14",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 87.429,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53514,
    "c": 0.13969,
    "h": 132.1
  },
  "luminance": 0.16296
}

Semantic roles & 50–950 ramp

primary
#4D7D14
secondary
#713AB2
accent
#39EF8C
background
#F8FAF5
surface
#EFF3E9
border
#CACDC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4D7D14

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

Preview Lab → · Contrast checker → · Palette generator →

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